Class AlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.osid.OsidException
org.osid.UserException
org.osid.AlreadyExistsException
- All Implemented Interfaces:
Serializable
Attempt to add an object that already exists. Some providers may
enforce a uniqueness requirement on one or more data elements not
specified in the interface while others may permit it. The places where
this error is required to be returned relate to indices or other
pseudo-identifiers specified in the interface.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aAlreadyExistsExceptionwith the specified detail message.AlreadyExistsException(String msg, Throwable t) Constructs aAlreadyExistsExceptionwith the specified detail message and cause.Constructs aAlreadyExistsExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlreadyExistsException
-
AlreadyExistsException
-
AlreadyExistsException
Constructs aAlreadyExistsExceptionwith the specified cause and a detail message ofcause.toString()which typically contains the class and detail message ofcause.- Parameters:
t- the cause of the exception
-