|
Hilbert II - Version 0.03.01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.qedeq.kernel.xml.mapper.XmlFilePositionException
Data validation error. Occurs if a set or add method leads to wrong or inconsistent data.
Constructor Summary | |
XmlFilePositionException(Exception exception)
Constructor. |
|
XmlFilePositionException(File file,
Exception exception)
Constructor. |
|
XmlFilePositionException(IOException exception)
Constructor. |
|
XmlFilePositionException(ModuleDataException exception)
Constructor. |
|
XmlFilePositionException(SAXException exception)
Constructor. |
|
XmlFilePositionException(SyntaxException exception)
Constructor. |
|
XmlFilePositionException(URL url,
Exception exception)
Constructor. |
Method Summary | |
SourcePosition |
getContext()
Get context information about error location. |
String |
getDescription()
Get detailed error description. |
int |
getErrorCode()
Get error code. |
String |
getLine()
Get line that is referenced by getContext() . |
String |
getMessage()
|
SourcePosition |
getReferenceContext()
Get additional context information about another associated location. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XmlFilePositionException(ModuleDataException exception)
exception
- Exception to wrap.public XmlFilePositionException(SyntaxException exception)
exception
- Exception to wrap.public XmlFilePositionException(URL url, Exception exception)
url
- Parsed file.exception
- Exception to wrap.public XmlFilePositionException(File file, Exception exception)
file
- Parsed file.exception
- Exception to wrap.public XmlFilePositionException(Exception exception)
exception
- Exception to wrap.public XmlFilePositionException(IOException exception)
exception
- Exception to wrap.public XmlFilePositionException(SAXException exception)
exception
- Exception to wrap.Method Detail |
public final SourcePosition getContext()
public final SourcePosition getReferenceContext()
public final int getErrorCode()
public final String getLine()
getContext()
.
public final String getMessage()
public final String getDescription()
getErrorCode()
and getMessage()
.
The second line contains the local address, the line and column.
Third line is the result or getLine()
.
In the fourth line the row position for the third line is marked.
|
Hilbert II - Version 0.03.01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |