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:
java.io.Serializable
- Direct Known Subclasses:
AuthorizationFailureException
,InvalidSessionException
public class UserFailureException extends HighLevelException
TheUserFailureException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserFailureException(java.lang.String message)
UserFailureException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserFailureException
fromTemplate(java.lang.String messageTemplate, java.lang.Object... args)
Creates anUserFailureException
using aFormatter
.static UserFailureException
fromTemplate(java.lang.Throwable cause, java.lang.String messageTemplate, java.lang.Object... args)
Creates anUserFailureException
using aFormatter
.-
Methods inherited from class ch.systemsx.cisd.common.exceptions.HighLevelException
isRetriable, isRetriable
-
-
-
-
Method Detail
-
fromTemplate
public static UserFailureException fromTemplate(java.lang.String messageTemplate, java.lang.Object... args)
Creates anUserFailureException
using aFormatter
.
-
fromTemplate
public static UserFailureException fromTemplate(java.lang.Throwable cause, java.lang.String messageTemplate, java.lang.Object... args)
Creates anUserFailureException
using aFormatter
.
-
-