|
Data Request Broker 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fr.gael.drb.query.DynamicException
public class DynamicException
Dynamic error of an XQuery dynamic evalutation phase. A dynamic error is an error that must be detected during the evaluation phase and may be detected during the analysis phase. Numeric overflow is an example of a dynamic error.
| Constructor Summary | |
|---|---|
protected |
DynamicException(fr.gael.drb.query.Expression expression,
String message)
Builds a dynamic exception with a contextual message. |
| Method Summary | |
|---|---|
int |
getBeginColumn()
Returns the column number where the dynamic error has started. |
int |
getBeginLine()
Returns the line number where the dynamic error has stared. |
int |
getEndColumn()
Returns the column number where the dynamic error has ended. |
int |
getEndLine()
Returns the line number where the dynamic error has ended. |
String |
getMessage()
Returns the exception message. |
| 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 |
|---|
protected DynamicException(fr.gael.drb.query.Expression expression,
String message)
expression - the expression associated to the error.message - the contextual message that should fit | Method Detail |
|---|
public int getBeginLine()
public int getEndLine()
public int getBeginColumn()
public int getEndColumn()
public String getMessage()
Dynamic error in FLWOR expression at line 1, column 26. The $a variable has already been declared.It is a committment that the output message ends with a trailing ".".
getMessage in class Throwable
|
Data Request Broker - DRB API® 2-3-release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||