net.sf.jso
Class DuplicateObjectException

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

public class DuplicateObjectException
extends StorageException

Storage exception thrown when an attempt is made to store a duplicate object.

See Also:
Serialized Form

Constructor Summary
DuplicateObjectException()
          Constructs a new exception with null as its detail message.
DuplicateObjectException(java.lang.String message)
          Constructs a new exception with the specified detail message.
DuplicateObjectException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the specified detail message and cause.
DuplicateObjectException(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

DuplicateObjectException

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


DuplicateObjectException

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

Parameters:
message - The detail message.

DuplicateObjectException

public DuplicateObjectException(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.

DuplicateObjectException

public DuplicateObjectException(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.