public class AlreadyExistsException extends CreationException
RuntimeException
are checked exceptions.
Checked exceptions need to be declared in a method or constructor's throws clause if they can be thrown by the execution of the method or
constructor and propagate outside the method or constructor boundary.Constructor and Description |
---|
AlreadyExistsException(String message)
Constructs a new exception with the specified detail message.
|
AlreadyExistsException(Throwable cause)
Constructs a new exception with the specified detail cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AlreadyExistsException(Throwable cause)
cause
- The cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the
cause is nonexistent or unknown.)public AlreadyExistsException(String message)
message
- The detail message (which is saved for later retrieval by the Throwable.getMessage()
method).Copyright © 2014 Bonitasoft S.A.. All Rights Reserved.