|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
flex.messaging.LocalizedException
flex.messaging.MessageException
flex.messaging.security.SecurityException
public class SecurityException
SecurityException is a localizable exception type that is used to represent client authentication, client authorization and general server-related security errors. It defines a set of supported error code values as constants suffixed with _CODE.
| Field Summary | |
|---|---|
static String |
CLIENT_AUTHENTICATION_CODE
|
static String |
CLIENT_AUTHORIZATION_CODE
|
static String |
SERVER_AUTHENTICATION_CODE
|
static String |
SERVER_AUTHORIZATION_CODE
|
| Fields inherited from class flex.messaging.MessageException |
|---|
CODE_SERVER_RESOURCE_UNAVAILABLE |
| Constructor Summary | |
|---|---|
SecurityException()
Create a SecurityException that will use the default ResourceLoader for error codes. |
|
| Method Summary | |
|---|---|
ErrorMessage |
createErrorMessage()
Overrides createErrorMessage() to correlate the ErrorMessage to the
failing message by id and destination. |
Message |
getFailingMessage()
Returns the message with information about what caused this security exception to be thrown. |
void |
setFailingMessage(Message failingMessage)
Sets the message with information about what caused this security exception to be thrown. |
| Methods inherited from class flex.messaging.MessageException |
|---|
getCode, getDefaultLogMessageIntro, getErrorMessage, getExtendedData, getPreferredLogLevel, isLogged, isLogStackTraceEnabled, logAtHingePoint, setCode, setErrorMessage, setExtendedData, setLogged |
| Methods inherited from class flex.messaging.LocalizedException |
|---|
getDetails, getMessage, getNumber, getRootCause, setDetails, setDetails, setDetails, setDetails, setDetails, setDetails, setMessage, setMessage, setMessage, setMessage, setMessage, setMessage, setMessage, setMessage, setNumber, setRootCause, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CLIENT_AUTHENTICATION_CODE
public static final String CLIENT_AUTHORIZATION_CODE
public static final String SERVER_AUTHENTICATION_CODE
public static final String SERVER_AUTHORIZATION_CODE
| Constructor Detail |
|---|
public SecurityException()
| Method Detail |
|---|
public Message getFailingMessage()
public void setFailingMessage(Message failingMessage)
failingMessage - message with information about what caused this security exception to be thrownpublic ErrorMessage createErrorMessage()
createErrorMessage() to correlate the ErrorMessage to the
failing message by id and destination.
createErrorMessage in class MessageException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/security/SecurityException.html