ch.systemsx.cisd.common.exceptions
Class UserFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ch.systemsx.cisd.common.exceptions.HighLevelException
                  extended by ch.systemsx.cisd.common.exceptions.UserFailureException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthorizationFailureException, InvalidSessionException

public class UserFailureException
extends HighLevelException

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:
Serialized Form

Constructor Summary
UserFailureException(java.lang.String message)
           
UserFailureException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
static UserFailureException fromTemplate(java.lang.String messageTemplate, java.lang.Object... args)
          Creates an UserFailureException using a Formatter.
static UserFailureException fromTemplate(java.lang.Throwable cause, java.lang.String messageTemplate, java.lang.Object... args)
          Creates an UserFailureException using a Formatter.
 
Methods inherited from class ch.systemsx.cisd.common.exceptions.HighLevelException
isRetriable, isRetriable
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserFailureException

public UserFailureException(java.lang.String message)

UserFailureException

public UserFailureException(java.lang.String message,
                            java.lang.Throwable cause)
Method Detail

fromTemplate

public static UserFailureException fromTemplate(java.lang.String messageTemplate,
                                                java.lang.Object... args)
Creates an UserFailureException using a Formatter.


fromTemplate

public static UserFailureException fromTemplate(java.lang.Throwable cause,
                                                java.lang.String messageTemplate,
                                                java.lang.Object... args)
Creates an UserFailureException using a Formatter.