Class UnhandledValueBugException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.exception.BugException
org.refcodes.exception.UnhandledValueBugException
- All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty -
Constructor Summary
ConstructorsConstructorDescriptionUnhandledValueBugException(Object aValue) Instantiates the classUnhandledValueBugException.UnhandledValueBugException(Object aValue, String aMessage) Instantiates the classUnhandledValueBugException.UnhandledValueBugException(Object aValue, String aMessage, String aErrorCode) Instantiates the classUnhandledValueBugException.UnhandledValueBugException(Object aValue, String aMessage, Throwable aCause) Instantiates the classUnhandledValueBugException.UnhandledValueBugException(Object aValue, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classUnhandledValueBugException.UnhandledValueBugException(Object aValue, Throwable aCause) Instantiates the classUnhandledValueBugException.UnhandledValueBugException(Object aValue, Throwable aCause, String aErrorCode) Instantiates the classUnhandledValueBugException. -
Method Summary
Methods inherited from class AbstractRuntimeException
getErrorCode, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Trap
getPatternArguments, toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
UnhandledValueBugException
Instantiates the classUnhandledValueBugException.- Parameters:
aValue- The value not being considered by the code.- See Also:
-
UnhandledValueBugException
Instantiates the classUnhandledValueBugException.- Parameters:
aValue- The value not being considered by the code.- See Also:
-
UnhandledValueBugException
Instantiates the classUnhandledValueBugException.- Parameters:
aValue- The value not being considered by the code.- See Also:
-
UnhandledValueBugException
Instantiates the classUnhandledValueBugException.- Parameters:
aValue- The value not being considered by the code.- See Also:
-
UnhandledValueBugException
Instantiates the classUnhandledValueBugException.- Parameters:
aValue- The value not being considered by the code.- See Also:
-
UnhandledValueBugException
public UnhandledValueBugException(Object aValue, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classUnhandledValueBugException.- Parameters:
aValue- The value not being considered by the code.- See Also:
-
UnhandledValueBugException
Instantiates the classUnhandledValueBugException.- Parameters:
aValue- The value not being considered by the code.- See Also:
-
-
Method Details
-
getValue
-