org.activemath.webapp.user
Class UserManagerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.activemath.webapp.user.UserManagerException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccountManagerException, UsernameTakenException

public class UserManagerException
extends Exception

See Also:
Serialized Form

Constructor Summary
UserManagerException(String message)
          Creates a new UserManagerException with no cause
UserManagerException(String message, Throwable t)
          Creates a new UserManagerException with the supplied message and t as cause.
UserManagerException(Throwable t)
          Creates a new UserManagerException based on the supplied Throwable.
 
Method Summary
 Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserManagerException

public UserManagerException(String message)
Creates a new UserManagerException with no cause

Parameters:
message - A message detailing a bit this Exception.

UserManagerException

public UserManagerException(Throwable t)
Creates a new UserManagerException based on the supplied Throwable.
Used to propagate Exceptions to a higher level. As no information in String form is supplied, this UserManagerException's message will be initialized with the supplied Throwable's message, and the cause will be set to t.

Parameters:
t - The Throwable that caused this UserManagerException.

UserManagerException

public UserManagerException(String message,
                            Throwable t)
Creates a new UserManagerException with the supplied message and t as cause.

Parameters:
message - A message detailing a bit this Exception.
t - The Throwable that caused this UserManagerException.
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable