java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.luis.utils.exception.AlreadyInitializedException
- All Implemented Interfaces:
Serializable
Thrown when an initialization is attempted on an object that has already been initialized.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new already initialized exception with no details.AlreadyInitializedException
(@Nullable String message) Constructs a new already initialized exception with the specified message.AlreadyInitializedException
(@Nullable String message, @Nullable Throwable cause) Constructs a new already initialized exception with the specified message and cause.AlreadyInitializedException
(@Nullable Throwable cause) Constructs a new already initialized exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlreadyInitializedException
public AlreadyInitializedException()Constructs a new already initialized exception with no details. -
AlreadyInitializedException
Constructs a new already initialized exception with the specified message.- Parameters:
message
- The message of the exception
-
AlreadyInitializedException
public AlreadyInitializedException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause) Constructs a new already initialized exception with the specified message and cause.- Parameters:
message
- The message of the exceptioncause
- The cause of the exception
-
AlreadyInitializedException
Constructs a new already initialized exception with the specified cause.- Parameters:
cause
- The cause of the exception
-