org.apgrid.grpc.ng
Class NgXMLReadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gridforum.gridrpc.GrpcException
org.apgrid.grpc.ng.NgException
org.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
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 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 |
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.
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.