Class UserFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.systemsx.cisd.common.exceptions.HighLevelException
ch.systemsx.cisd.common.exceptions.UserFailureException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthorizationFailureException,InvalidSessionException,NotFetchedException,ObjectNotFoundException,UnauthorizedObjectAccessException,UnsupportedObjectIdException
The
UserFailureException is the super class of all exceptions that have their cause in an inappropriate usage of the system. This
implies that the user himself (without help of an administrator) can fix the problem.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserFailureException(String message) UserFailureException(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic UserFailureExceptionfromTemplate(String messageTemplate, Object... args) Creates anUserFailureExceptionusing aFormatter.static UserFailureExceptionfromTemplate(Throwable cause, String messageTemplate, Object... args) Creates anUserFailureExceptionusing aFormatter.Methods inherited from class ch.systemsx.cisd.common.exceptions.HighLevelException
isRetriable, isRetriableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UserFailureException
-
UserFailureException
-
-
Method Details
-
fromTemplate
Creates anUserFailureExceptionusing aFormatter. -
fromTemplate
public static UserFailureException fromTemplate(Throwable cause, String messageTemplate, Object... args) Creates anUserFailureExceptionusing aFormatter.
-