com.neeve.ods
Class OdsReferentialIntegrityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by com.neeve.ods.OdsReferentialIntegrityException
All Implemented Interfaces:
Serializable

public final class OdsReferentialIntegrityException
extends IllegalStateException

Thrown by an ODS add/update/remove event handler during initialization to indicate a referential integrity error in handling the event

See Also:
Serialized Form

Constructor Summary
OdsReferentialIntegrityException(String str)
          Construct a fatal exception using a string .
OdsReferentialIntegrityException(String str, boolean fatal)
          Construct using a string and whether the exception is fatal or not.
 
Method Summary
 boolean isFatal()
          Get whether the referential integrity issue is fatal
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OdsReferentialIntegrityException

public OdsReferentialIntegrityException(String str,
                                        boolean fatal)
Construct using a string and whether the exception is fatal or not.

Parameters:
str - A string describing the exception (returned by getMessage()).
fatal - Indicates whether this is a fatal exception or not. This value is used by the ODS runtime to determine whether to terminate initialization when this exception is thrown by an event handler.

OdsReferentialIntegrityException

public OdsReferentialIntegrityException(String str)
Construct a fatal exception using a string .

Parameters:
str - A string describing the exception (returned by getMessage()).

This constructor invokes this(str, true)

Method Detail

isFatal

public final boolean isFatal()
Get whether the referential integrity issue is fatal



Copyright © 2016 Neeve Research, LLC. All Rights Reserved.