|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
umontreal.iro.lecuyer.xmlconfig.ParamReadException
public class ParamReadException
This exception is thrown when a problem happens when converting a DOM document into a tree of parameter objects.
Constructor Summary | |
---|---|
ParamReadException()
Constructs a new parameter reading exception with no message and no node. |
|
ParamReadException(Node node)
Constructs a new parameter reading exception with no message and the node node. |
|
ParamReadException(Node node,
String message)
Constructs a new parameter reading exception with the given message and the node node. |
|
ParamReadException(String message)
Constructs a new parameter reading exception with the given message. |
Method Summary | |
---|---|
Node |
getNode()
Returns the DOM node in which the exception happened. |
String |
toString()
Returns a short description of this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParamReadException()
public ParamReadException(Node node)
node
- the node the exception happened into.public ParamReadException(String message)
message
- the error message describing the exception.public ParamReadException(Node node, String message)
node
- the node the exception happened into.message
- the error message describing the exception.Method Detail |
---|
public Node getNode()
public String toString()
DOMUtils.formatNodeName(org.w3c.dom.Node)
and
values are formatted using DOMUtils.formatNodeValue(org.w3c.dom.Node, int)
with a maximal
length of 100.
toString
in class Throwable
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |