net.sf.jso
Class IntegrityException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.sf.jso.StorageException
              extended bynet.sf.jso.IntegrityException
All Implemented Interfaces:
java.io.Serializable

public class IntegrityException
extends StorageException

Storage exception thrown when an operation would cause a referential integrity problem.

See Also:
Serialized Form

Constructor Summary
IntegrityException()
          Constructs a new exception with null as its detail message.
IntegrityException(java.lang.String message)
          Constructs a new exception with the specified detail message.
IntegrityException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the specified detail message and cause.
IntegrityException(java.lang.Throwable cause)
          Constructs a new exception with the specified cause and a detail message of (cause==null ?
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegrityException

public IntegrityException()
Constructs a new exception with null as its detail message.


IntegrityException

public IntegrityException(java.lang.String message)
Constructs a new exception with the specified detail message.

Parameters:
message - The detail message.

IntegrityException

public IntegrityException(java.lang.String message,
                          java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - The detail message.
cause - The cause of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.

IntegrityException

public IntegrityException(java.lang.Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()).

Parameters:
cause - The cause of this exception. A null value is permitted, and indicates that the cause is nonexistent or unknown.