org.glite.security
Class SecurityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by org.glite.security.SecurityException
All Implemented Interfaces:
java.io.Serializable

public class SecurityException
extends java.security.GeneralSecurityException

This is a security exception which can be converted into an Axis Fault and thrown across a SOAP communication. Based on the org.edg.data.util.FaultableException.

Author:
Niklas Karlsson
See Also:
Serialized Form

Constructor Summary
SecurityException(java.lang.String message)
          Constructs an SecurityException with the specified detail message.
 
Method Summary
 org.apache.axis.AxisFault asFault()
          Return this exception as an AXIS Fault
static java.lang.String faultCode()
          The code for security faults.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityException

public SecurityException(java.lang.String message)
Constructs an SecurityException with the specified detail message.

Parameters:
message - the pfn
Method Detail

asFault

public org.apache.axis.AxisFault asFault()
Return this exception as an AXIS Fault

Returns:
the fault

faultCode

public static java.lang.String faultCode()
The code for security faults.

Returns:
the default code, "SECURITY".