Class UnhandledValueBugException

All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap

public class UnhandledValueBugException extends BugException
An UnhandledValueBugException is thrown in case a value was encountered which is not being considered by the code (e.g. in a switch/case-statement): We have a coding error!
See Also:
  • Constructor Details

    • UnhandledValueBugException

      public UnhandledValueBugException(Object aValue)
      Parameters:
      aValue - The value not being considered by the code.
    • UnhandledValueBugException

      public UnhandledValueBugException(Object aValue, String aMessage)
      Parameters:
      aValue - The value not being considered by the code.
    • UnhandledValueBugException

      public UnhandledValueBugException(Object aValue, String aMessage, Throwable aCause)
      Parameters:
      aValue - The value not being considered by the code.
    • UnhandledValueBugException

      public UnhandledValueBugException(Object aValue, Throwable aCause)
      Parameters:
      aValue - The value not being considered by the code.
    • UnhandledValueBugException

      public UnhandledValueBugException(Object aValue, String aMessage, String aErrorCode)
      Parameters:
      aValue - The value not being considered by the code.
    • UnhandledValueBugException

      public UnhandledValueBugException(Object aValue, String aMessage, Throwable aCause, String aErrorCode)
      Parameters:
      aValue - The value not being considered by the code.
    • UnhandledValueBugException

      public UnhandledValueBugException(Object aValue, Throwable aCause, String aErrorCode)
      Parameters:
      aValue - The value not being considered by the code.
  • Method Details

    • getValue

      public Object getValue()
      Returns the unconsidered value in question.
      Returns:
      The according value.