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>

public static class ValueContainer.EmptyValueException extends RuntimeException
An exception thrown whenever ValueContainer.get() is called on an empty value container.
See Also:
  • Constructor Details

    • EmptyValueException

      public EmptyValueException(String message)
      Constructs a new exception with the specified message.
      Parameters:
      message - message describing the exception cause
    • EmptyValueException

      public EmptyValueException(String message, Throwable cause)
      Constructs a new exception with the specified message and cause.
      Parameters:
      message - message describing the exception cause
      cause - cause of this exception
    • EmptyValueException

      public EmptyValueException(Throwable cause)
      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 cause
      cause - cause of this exception
      enableSuppression - flag indicating whether suppression is enabled or disabled for this exception
      writableStackTrace - flag indicating whether not the stack trace should be writable for this exception
    • EmptyValueException

      public EmptyValueException()