|
||||||||||
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.se.common.QedeqException
org.qedeq.kernel.se.common.SourceFileException
public class SourceFileException
Data validation error. Shows an error or warning within a source file.
Constructor Summary | |
---|---|
SourceFileException(Service service,
int errorCode,
java.lang.String errorText,
java.lang.Throwable exception,
SourceArea errorArea,
SourceArea referenceArea)
Constructor. |
|
SourceFileException(Service service,
QedeqException exception,
SourceArea errorArea,
SourceArea referenceArea)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
Get detailed error description. |
java.lang.String |
getMessage()
|
SourceArea |
getReferenceArea()
Get additional position information about another associated location. |
Service |
getService()
Get service that found the error. |
SourceArea |
getSourceArea()
Get position information about error location. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class org.qedeq.kernel.se.common.QedeqException |
---|
getErrorCode |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SourceFileException(Service service, int errorCode, java.lang.String errorText, java.lang.Throwable exception, SourceArea errorArea, SourceArea referenceArea)
service
- This service generated the error.errorCode
- Error code.errorText
- Error text.exception
- Exception to wrap.errorArea
- Error location.referenceArea
- Error reference location.public SourceFileException(Service service, QedeqException exception, SourceArea errorArea, SourceArea referenceArea)
service
- This service generated the error.exception
- Exception to wrap.errorArea
- Error location.referenceArea
- Error reference location.Method Detail |
---|
public Service getService()
public SourceArea getSourceArea()
public SourceArea getReferenceArea()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getDescription()
QedeqException.getErrorCode()
and getMessage()
.
The second line contains the local address, the line and column.
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final java.lang.String toString()
toString
in class QedeqException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |