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

Field Summary
protected  String message
           
private static long serialVersionUID
           
 
Constructor Summary
ForbiddenUserException(String message)
           
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

message

protected String message
Constructor Detail

ForbiddenUserException

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