uk.org.ogsadai.client.toolkit.service.faults
Class AuthorisationFaultType

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.rmi.RemoteException
                  extended byorg.apache.axis.AxisFault
                      extended byuk.org.ogsadai.client.toolkit.service.faults.DAIFaultType
                          extended byuk.org.ogsadai.client.toolkit.service.faults.SimpleFaultType
                              extended byuk.org.ogsadai.client.toolkit.service.faults.AuthorisationFaultType
All Implemented Interfaces:
java.io.Serializable

public class AuthorisationFaultType
extends SimpleFaultType

Client-side representation of deserialized AuthorisationFaultType.

Author:
The OGSA-DAI Project Team.
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
private  java.lang.String mUniqueID
           
static java.lang.String UNIQUEID_LOCALNAME
          uniqueID element name
private static javax.xml.namespace.QName XMLNAME
           
 
Fields inherited from class uk.org.ogsadai.client.toolkit.service.faults.SimpleFaultType
ID_LOCALNAME, MSG_LOCALNAME
 
Fields inherited from class org.apache.axis.AxisFault
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode, log
 
Fields inherited from class java.rmi.RemoteException
detail
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
AuthorisationFaultType(org.w3c.dom.Element[] details)
          Parses the detail element of a SOAP fault.
AuthorisationFaultType(java.lang.String id, java.lang.String msg, java.lang.String uniqueID)
          Creates a new AuthorisationFaultType from an error ID and a message and a unique ID.
 
Method Summary
 java.lang.String getUniqueID()
          Gets the unique ID.
 javax.xml.namespace.QName getXMLName()
          Gets the XML name of the serialized fault.
protected  void parseFaultDetails(org.w3c.dom.Element element)
          Parses the detail element of a SOAP fault element and extracts the unique ID.
 void setUniqueID(java.lang.String uniqueID)
          Sets the unique ID.
 
Methods inherited from class uk.org.ogsadai.client.toolkit.service.faults.SimpleFaultType
getID, getMsg, setID, setMsg
 
Methods inherited from class org.apache.axis.AxisFault
addFaultDetail, addFaultDetail, addFaultDetailString, addFaultSubCode, addFaultSubCodeAsString, addHeader, addHostname, addHostnameIfNeeded, clearFaultDetails, clearFaultSubCodes, clearHeaders, dump, dumpToString, getFaultActor, getFaultCode, getFaultDetails, getFaultNode, getFaultReason, getFaultRole, getFaultString, getFaultSubCodes, getHeaders, initFaultSubCodes, lookupFaultDetail, makeFault, output, printStackTrace, printStackTrace, removeFaultDetail, removeHostname, setFaultActor, setFaultCode, setFaultCode, setFaultCodeAsString, setFaultDetail, setFaultDetailString, setFaultNode, setFaultReason, setFaultRole, setFaultString, toString, writeDetails
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values

mUniqueID

private java.lang.String mUniqueID

UNIQUEID_LOCALNAME

public static java.lang.String UNIQUEID_LOCALNAME
uniqueID element name


XMLNAME

private static final javax.xml.namespace.QName XMLNAME
Constructor Detail

AuthorisationFaultType

public AuthorisationFaultType(java.lang.String id,
                              java.lang.String msg,
                              java.lang.String uniqueID)
Creates a new AuthorisationFaultType from an error ID and a message and a unique ID.

Parameters:
id - error ID.
msg - error message.
uniqueID - unique ID.

AuthorisationFaultType

public AuthorisationFaultType(org.w3c.dom.Element[] details)
Parses the detail element of a SOAP fault.

Parameters:
details - detail elements
Method Detail

parseFaultDetails

protected void parseFaultDetails(org.w3c.dom.Element element)
Parses the detail element of a SOAP fault element and extracts the unique ID.

Overrides:
parseFaultDetails in class SimpleFaultType
Parameters:
element - fault detail element

getUniqueID

public java.lang.String getUniqueID()
Gets the unique ID.

Returns:
unique ID.

setUniqueID

public void setUniqueID(java.lang.String uniqueID)
Sets the unique ID.

Parameters:
uniqueID - unique ID.

getXMLName

public javax.xml.namespace.QName getXMLName()
Description copied from class: DAIFaultType
Gets the XML name of the serialized fault.

Specified by:
getXMLName in class DAIFaultType
Returns:
XML name.