Class UnsupportedCaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.nolix.baseapi.errorcontrol.invalidargumentexception.AbstractInvalidArgumentException
ch.nolix.baseapi.errorcontrol.invalidargumentexception.UnsupportedCaseException
- All Implemented Interfaces:
Serializable
A
UnsupportedCaseException is a
AbstractInvalidArgumentException that is supposed to be thrown when a
given argument is undesirable not a supported case.- Author:
- Silvan Wyss
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnsupportedCaseExceptionstatic UnsupportedCaseExceptionMethods inherited from class AbstractInvalidArgumentException
getArgumentName, getErrorPredicate, getStoredArgumentMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
forCase
- Parameters:
paramCase-- Returns:
- a new
UnsupportedCaseExceptionfor the given paramCase. - Throws:
RuntimeException- if the given paramCase is null.
-
forCase
- Parameters:
paramCase-- Returns:
- a new
UnsupportedCaseExceptionfor the given paramCase. - Throws:
RuntimeException- if the given pCase is null or blank.
-