org.starhope.appius.except
Class ForbiddenUserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.starhope.appius.except.ForbiddenUserException
All Implemented Interfaces:
Serializable

public class ForbiddenUserException
extends Exception

This exception is thrown in registration and similar code to denote that an user is forbidden from registering, probably because they were previously banned. Note that the User Interface is NOT to tell the user this fact.

Author:
brpocock@star-hope.org
See Also:
Serialized Form

Field Summary
private  String message
          WRITEME: document this field (brpocock@star-hope.org, Nov 5, 2009) message (ForbiddenUserException)
private static long serialVersionUID
           
 
Constructor Summary
ForbiddenUserException(String message1)
           
 
Method Summary
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

message

private final String message
WRITEME: document this field (brpocock@star-hope.org, Nov 5, 2009) message (ForbiddenUserException)

Constructor Detail

ForbiddenUserException

public ForbiddenUserException(String message1)
Parameters:
message1 - The descriptive message to be returned to the user
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable
Returns:
the message