|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ActionExceptionType>
pl.bristleback.server.bristle.exceptions.handlers.ActionExceptionType
public enum ActionExceptionType
Enumeration of exception types thrown while processing request from user.
Created on: 2010-10-23 23:56:43
| Enum Constant Summary | |
|---|---|
ACTION_NAME_NOT_SPECIFIED
This exception occurs when token sent by user doesn't contain action type element. |
|
ACTION_NOT_FOUND
Occurs when action with name given by user in token variable is not found. |
|
RIGHTS_NOT_SUFFICIENT
Occurs when connector, which invokes given action, doesn't have one or more rights required by this action. |
|
| Method Summary | |
|---|---|
static ActionExceptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ActionExceptionType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ActionExceptionType ACTION_NAME_NOT_SPECIFIED
BristleConstants class.
public static final ActionExceptionType ACTION_NOT_FOUND
public static final ActionExceptionType RIGHTS_NOT_SUFFICIENT
| Method Detail |
|---|
public static ActionExceptionType[] values()
for (ActionExceptionType c : ActionExceptionType.values()) System.out.println(c);
public static ActionExceptionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||