org.edg.security
Class SecurityException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.security.GeneralSecurityException
                    |
                    +--org.edg.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.

Version:
$Id: SecurityException.java,v 1.2 2003/09/05 09:50:05 jhahkala Exp $
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()
           
protected  org.apache.axis.AxisFault makeFault(java.lang.String faultType, java.lang.String string)
           
 
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
clone, equals, finalize, 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

makeFault

protected org.apache.axis.AxisFault makeFault(java.lang.String faultType,
                                              java.lang.String string)

faultCode

public static java.lang.String faultCode()