org.apgrid.grpc.ng
Class NgXMLReadException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.gridforum.gridrpc.GrpcException
              extended byorg.apgrid.grpc.ng.NgException
                  extended byorg.apgrid.grpc.ng.NgXMLReadException
All Implemented Interfaces:
java.io.Serializable

public class NgXMLReadException
extends NgException

Thrown to indicate that something wrong was happened when reading XML documents.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.gridforum.gridrpc.GrpcException
innerException, os, str
 
Constructor Summary
NgXMLReadException(java.lang.Exception e)
          Creates NgXMLReadException with original Exception.
NgXMLReadException(org.w3c.dom.Node node)
          Creates NgXMLReadException with the XML node.
The XML node was parsed when error occurred.
NgXMLReadException(java.lang.String string)
          Creates NgXMLReadException with an error message.
 
Method Summary
 org.w3c.dom.Node getNode()
          Gets the Node which was parsed when error occurred.
 
Methods inherited from class org.gridforum.gridrpc.GrpcException
printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NgXMLReadException

public NgXMLReadException(org.w3c.dom.Node node)
Creates NgXMLReadException with the XML node.
The XML node was parsed when error occurred.

Parameters:
node - the XML node which was parsed when error occurred.

NgXMLReadException

public NgXMLReadException(java.lang.String string)
Creates NgXMLReadException with an error message.

Parameters:
string - an error message.

NgXMLReadException

public NgXMLReadException(java.lang.Exception e)
Creates NgXMLReadException with original Exception.

Parameters:
e - original Exception.
Method Detail

getNode

public org.w3c.dom.Node getNode()
Gets the Node which was parsed when error occurred.

Returns:
the data which was parsed when error occurred.