|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.faces.FacesException org.jboss.seam.ui.UnauthorizedCommandException
public class UnauthorizedCommandException
An exception is thrown when the authenticity of a JSF command (i.e., form post) that relies on a UIToken cannot be verified.
Constructor Summary | |
---|---|
UnauthorizedCommandException()
Construct a new exception with no detail message or root cause. |
|
UnauthorizedCommandException(java.lang.String viewId,
java.lang.String message)
Construct a new exception with a detail message and the view ID |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the detail message explaining the reason for the denial. |
java.lang.String |
getViewId()
Returns the view ID to which the authorized command was directed. |
Methods inherited from class javax.faces.FacesException |
---|
getCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 |
Constructor Detail |
---|
public UnauthorizedCommandException()
Construct a new exception with no detail message or root cause.
public UnauthorizedCommandException(java.lang.String viewId, java.lang.String message)
Construct a new exception with a detail message and the view ID
Method Detail |
---|
public java.lang.String getViewId()
Returns the view ID to which the authorized command was directed.
public java.lang.String getMessage()
Returns the detail message explaining the reason for the denial. Includes the view ID if specified.
getMessage
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |