|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
gnu.jel.CompilationException
public class CompilationException
Represents an error encountered during the compilation.
The text of the messages can be changed/internationalized by modification of JEL.properties file
Field Summary | |
---|---|
int |
col
|
Constructor Summary | |
---|---|
CompilationException(int code,
Object param)
Constructs new CompilationException with a single formatting parameter. |
|
CompilationException(int code,
Object[] params)
Constructs new CompilationException with a several formatting parameter. |
Method Summary | |
---|---|
int |
getColumn()
Used to obtain the column, where error have occurred. |
String |
getMessage()
Used to obtain the formatted error message. |
Object[] |
getParameters()
Used to obtain the parameters for this error. |
int |
getType()
Used to obtain the error code. |
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 |
Field Detail |
---|
public int col
Constructor Detail |
---|
public CompilationException(int code, Object param)
code
- is the error code (must correspond to a message in
JEL.properties file).param
- is the single Object parameter to be used in message
formatting.public CompilationException(int code, Object[] params)
code
- is the error code (must correspond to a message in
JEL.properties file).params
- is an array of Objects, which are to be used in message
formatting.Method Detail |
---|
public int getColumn()
public int getType()
public Object[] getParameters()
public String getMessage()
getMessage
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |