public class AlreadyExistsException extends UserException
Constructor and Description |
---|
AlreadyExistsException(java.lang.String msg)
Constructs a
AlreadyExistsException with the specified
detail message. |
AlreadyExistsException(java.lang.String msg,
java.lang.Throwable t)
Constructs a
AlreadyExistsException with the specified
detail message and cause. |
AlreadyExistsException(java.lang.Throwable t)
Constructs a
AlreadyExistsException with the specified
cause and a detail message of
cause.toString() which typically contains the class and
detail message of cause . |
public AlreadyExistsException(java.lang.String msg)
AlreadyExistsException
with the specified
detail message. The error message string msg
can
later be retrieved by the getMessage() method of
Throwable
.msg
- the error messagepublic AlreadyExistsException(java.lang.String msg, java.lang.Throwable t)
AlreadyExistsException
with the specified
detail message and cause. The error message string msg
can
later be retrieved by the getMessage() method of
Throwable
.msg
- the error messaget
- the cause of the exceptionpublic AlreadyExistsException(java.lang.Throwable t)
AlreadyExistsException
with the specified
cause and a detail message of
cause.toString()
which typically contains the class and
detail message of cause
.t
- the cause of the exception