|
Hilbert II - Version 0.03.03 | ||||||||||
| 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.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(Qedeq qedeq,
ModuleDataException exception)
Constructor. |
|
XmlFilePositionException(SAXException exception)
Constructor. |
|
XmlFilePositionException(SyntaxException exception)
Constructor. |
|
XmlFilePositionException(URL url,
Exception exception)
Constructor. |
|
| Method Summary | |
static SourceArea |
createSourceArea(Qedeq qedeq,
ModuleContext context)
Get area in XML source file for QEDEQ module context. |
String |
getDescription()
Get detailed error description. |
int |
getErrorCode()
Get error code. |
String |
getLine()
Get line that is referenced by getSourceArea(). |
String |
getMessage()
|
SourceArea |
getReferenceArea()
Get additional position information about another associated location. |
SourceArea |
getSourceArea()
Get position information about error 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(Qedeq qedeq,
ModuleDataException exception)
qedeq - Exception occurred in this QEDEQ module.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 static SourceArea createSourceArea(Qedeq qedeq,
ModuleContext context)
qedeq - Look at this QEDEQ module.context - Search for this context.
null.public final SourceArea getSourceArea()
public final SourceArea getReferenceArea()
public final int getErrorCode()
public final String getLine()
getSourceArea().
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.
TODO mime 20070219: rework description: add end (and perhaps reference) information
|
Hilbert II - Version 0.03.03 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ©left GNU General Public Licence All Rights Reserved. |