flex.messaging.security
Class SecurityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by flex.messaging.LocalizedException
                  extended by flex.messaging.MessageException
                      extended by flex.messaging.security.SecurityException
All Implemented Interfaces:
Serializable

public class SecurityException
extends MessageException

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.

See Also:
Serialized Form

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

CLIENT_AUTHENTICATION_CODE

public static final String CLIENT_AUTHENTICATION_CODE
See Also:
Constant Field Values

CLIENT_AUTHORIZATION_CODE

public static final String CLIENT_AUTHORIZATION_CODE
See Also:
Constant Field Values

SERVER_AUTHENTICATION_CODE

public static final String SERVER_AUTHENTICATION_CODE
See Also:
Constant Field Values

SERVER_AUTHORIZATION_CODE

public static final String SERVER_AUTHORIZATION_CODE
See Also:
Constant Field Values
Constructor Detail

SecurityException

public SecurityException()
Create a SecurityException that will use the default ResourceLoader for error codes.

Method Detail

getFailingMessage

public Message getFailingMessage()
Returns the message with information about what caused this security exception to be thrown.

Returns:
message with information about what caused this security exception to be thrown

setFailingMessage

public void setFailingMessage(Message failingMessage)
Sets the message with information about what caused this security exception to be thrown.

Parameters:
failingMessage - message with information about what caused this security exception to be thrown

createErrorMessage

public ErrorMessage createErrorMessage()
Overrides createErrorMessage() to correlate the ErrorMessage to the failing message by id and destination.

Overrides:
createErrorMessage in class MessageException
Returns:
correlated error message


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

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