Class ValueContainer.EmptyValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ru.progrm_jarvis.javacommons.object.ValueContainer.EmptyValueException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- ValueContainer<T>
An exception thrown whenever
ValueContainer.get() is called on an empty value container.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmptyValueException(String message) Constructs a new exception with the specified message.EmptyValueException(String message, Throwable cause) Constructs a new exception with the specified message and cause.EmptyValueException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new exception with the specified message and cause.EmptyValueException(Throwable cause) Constructs a new 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
-
EmptyValueException
Constructs a new exception with the specified message.- Parameters:
message- message describing the exception cause
-
EmptyValueException
Constructs a new exception with the specified message and cause.- Parameters:
message- message describing the exception causecause- cause of this exception
-
EmptyValueException
Constructs a new exception with the specified cause.- Parameters:
cause- cause of this exception
-
EmptyValueException
public EmptyValueException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new exception with the specified message and cause.- Parameters:
message- message describing the exception causecause- cause of this exceptionenableSuppression- flag indicating whether suppression is enabled or disabled for this exceptionwritableStackTrace- flag indicating whether not the stack trace should be writable for this exception
-
EmptyValueException
public EmptyValueException()
-