Package org.seedstack.business.domain
Class IdentityExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.seedstack.business.domain.IdentityExistsException
-
- All Implemented Interfaces:
Serializable
public class IdentityExistsException extends RuntimeException
This exception is thrown when the existence of an identity is an error condition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdentityExistsException()Creates the exception without message nor cause.IdentityExistsException(String message)Creates the exception with an error message.IdentityExistsException(String message, Throwable cause)Creates the exception with an error message and a cause.IdentityExistsException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Creates the exception with an error message, a cause and specify additional parameters.IdentityExistsException(Throwable cause)Creates the exception with a cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IdentityExistsException
public IdentityExistsException()
Creates the exception without message nor cause.
-
IdentityExistsException
public IdentityExistsException(String message)
Creates the exception with an error message.- Parameters:
message- the message.
-
IdentityExistsException
public IdentityExistsException(String message, Throwable cause)
Creates the exception with an error message and a cause.- Parameters:
message- the message.cause- the cause.
-
IdentityExistsException
public IdentityExistsException(Throwable cause)
Creates the exception with a cause.- Parameters:
cause- the cause.
-
IdentityExistsException
public IdentityExistsException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Creates the exception with an error message, a cause and specify additional parameters.- Parameters:
message- the message.cause- the cause.enableSuppression- whether or not suppression is enabled or disabledwritableStackTrace- whether or not the stack trace should be writable
-
-