|
Hilbert II - Version 0.01.09 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.qedeq.kernel.rel.test.text.XmlFilePositionException
Data validation error. Occurs if a set or add method leads to wrong or inconsistent data.
| Constructor Summary | |
XmlFilePositionException(Exception exception)
Constructor. |
|
XmlFilePositionException(IllegalModuleDataException exception)
Constructor. |
|
XmlFilePositionException(IOException exception)
Constructor. |
|
XmlFilePositionException(SAXException exception)
Constructor. |
|
XmlFilePositionException(String file,
Exception exception)
Constructor. |
|
XmlFilePositionException(SyntaxException 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(IllegalModuleDataException exception)
exception - Exception to wrap.public XmlFilePositionException(SyntaxException exception)
exception - Exception to wrap.
public XmlFilePositionException(String 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.01.09 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ©left GNU General Public Licence All Rights Reserved. |