java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.luis.utils.exception.NotInitializedException
- All Implemented Interfaces:
Serializable
Thrown when an access or action is attempted on an object that has not been initialized
but requires initialization before it can be used.
but requires initialization before it can be used.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new not initialized exception with no details.NotInitializedException
(@Nullable String message) Constructs a new not initialized exception with the specified message.NotInitializedException
(@Nullable String message, @Nullable Throwable cause) Constructs a new not initialized exception with the specified message and cause.NotInitializedException
(@Nullable Throwable cause) Constructs a new not 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
-
NotInitializedException
public NotInitializedException()Constructs a new not initialized exception with no details. -
NotInitializedException
Constructs a new not initialized exception with the specified message.- Parameters:
message
- The message of the exception
-
NotInitializedException
public NotInitializedException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause) Constructs a new not initialized exception with the specified message and cause.- Parameters:
message
- The message of the exceptioncause
- The cause of the exception
-
NotInitializedException
Constructs a new not initialized exception with the specified cause.- Parameters:
cause
- The cause of the exception
-