kmy.jint.util
Class CompilerException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--kmy.jint.util.CompilerException

public class CompilerException
extends java.lang.RuntimeException

See Also:
Serialized Form

Field Summary
(package private)  java.lang.Object[] attachments
           
(package private)  int code
           
(package private)  int fpos
           
(package private) static java.util.Hashtable messages
           
(package private)  java.lang.Exception wrapped
           
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
CompilerException(int code)
           
CompilerException(int code, int fpos)
           
CompilerException(int code, int fpos, java.lang.Exception e)
           
CompilerException(int code, int fpos, java.lang.Exception e, java.lang.Object[] att)
           
CompilerException(int code, int fpos, java.lang.Object[] att)
           
 
Method Summary
(package private) static void ()
           
 int getCode()
           
 int getColumn()
           
 java.lang.Exception getException()
           
 int getFilePos()
           
 int getLine()
           
private static java.lang.Object[] makeAddInfo(java.lang.Exception e)
           
(package private) static java.lang.String makeMessage(int code, java.lang.Object[] att)
           
private static java.io.InputStream openResource(java.lang.String name)
           
 void printStackTrace()
           
 void setFilePos(int p)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace0
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

messages

static java.util.Hashtable messages

wrapped

java.lang.Exception wrapped

fpos

int fpos

code

int code

attachments

java.lang.Object[] attachments
Constructor Detail

CompilerException

public CompilerException(int code,
                         int fpos,
                         java.lang.Exception e,
                         java.lang.Object[] att)

CompilerException

public CompilerException(int code,
                         int fpos)

CompilerException

public CompilerException(int code)

CompilerException

public CompilerException(int code,
                         int fpos,
                         java.lang.Object[] att)

CompilerException

public CompilerException(int code,
                         int fpos,
                         java.lang.Exception e)
Method Detail

makeAddInfo

private static java.lang.Object[] makeAddInfo(java.lang.Exception e)

getException

public java.lang.Exception getException()

getFilePos

public int getFilePos()

setFilePos

public void setFilePos(int p)

getCode

public int getCode()

getLine

public int getLine()

getColumn

public int getColumn()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

makeMessage

static java.lang.String makeMessage(int code,
                                    java.lang.Object[] att)

openResource

private static java.io.InputStream openResource(java.lang.String name)

static void ()