public class IlvXMLDataReaderException extends Exception
toString()
to get
a detail description of the exception.toString()
,
Serialized FormConstructor and Description |
---|
IlvXMLDataReaderException(Node current,
String description)
Creates an exception that occurred at the specified document node.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
This function will format a message to show the context of the
exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public IlvXMLDataReaderException(Node current, String description)
current
- The node where the exception occursdescription
- The short description of the exception.toString()
public String toString()
Exception while reading element:
document.chartData.data
unresolved x-series reference.
The first line is a general message. The second line gives the path of the element where there is a exception. The names of the elements are separated by ".". The last line is the description passed as one of the parameters of the constructor.
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.