public class CompilationException
extends java.lang.Exception
The text of the messages can be changed/internationalized by modification of JEL.properties file
| Modifier and Type | Field and Description | 
|---|---|
| int | col | 
| Constructor and Description | 
|---|
| CompilationException(int code,
                    java.lang.Object param)Constructs new CompilationException with a single formatting parameter. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getColumn()Used to obtain the column, where error have occurred. | 
| java.lang.String | getMessage()Used to obtain the formatted error message. | 
| java.lang.Object[] | getParameters()Used to obtain the parameters for this error. | 
| int | getType()Used to obtain the error code. | 
public CompilationException(int code,
                    java.lang.Object param)
code - is the error code (must correspond to a message in
             JEL.properties file).param - is the single Object parameter or an array of Objects to 
             be used in message formatting.public int getColumn()
public int getType()
public java.lang.Object[] getParameters()
public java.lang.String getMessage()
getMessage in class java.lang.ThrowableCopyright © 1998-2016 Konstantin L. Metlov All Rights Reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the JEL manual.