StarOffice 5.2 API
reverse engineered by classdoc

stardiv.js.base
Class ParserException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--stardiv.js.base.JSException
                    |
                    +--stardiv.js.base.ParserException
All Implemented Interfaces:
java.io.Serializable

public synchronized class ParserException
extends stardiv.js.base.JSException

See Also:
Serialized Form

Field Summary
static int JSE_BAD_JAVASCRIPT_VERSION
           
static int JSE_BAD_OPERATOR
           
static int JSE_BEGIN_BLOCK_REQUIRED
           
static int JSE_BLOCK_END_NOT_ALLOWED
           
static int JSE_BREAK_OUTSIDE_LOOP
           
static int JSE_CASE_NOT_ALLOWED
           
static int JSE_CONSTANT_EXPECTED
           
static int JSE_CONTINUE_NOT_ALLOWED_HERE
           
static int JSE_CONTINUE_NOT_IN_LOOP
           
static int JSE_DEFAULT_NOT_ALLOWED
           
static int JSE_END_OF_BLOCK_EXPECTED
           
static int JSE_EXPRESSION_EXPECTED
           
static int JSE_EXPR_END
           
static int JSE_EXPR_ENDED_WITH_OPERATOR
           
static int JSE_EXPR_NO_OF_ERR
           
static int JSE_EXPR_OFFSET
           
static int JSE_FCN_CALL_CLOSE_REQUIRED
           
static int JSE_FCN_CALL_OPEN_EXPECTED
           
static int JSE_FCN_IN_FCN
           
static int JSE_INTERNAL_DEBUG
           
static int JSE_INTERNAL_ERROR
           
static int JSE_LABEL_ALLREADY_DEFINED
           
static int JSE_LEFT_OPERAND_MISSING
           
static int JSE_MISSING_FCN_NAME
           
static int JSE_MISSING_VAR_NAME
           
static int JSE_NO_CASE_LABEL
           
static int JSE_NO_L_VALUE
           
static int JSE_OPERATOR_NOT_ALLOWED_HERE
           
static int JSE_OPERATOR_STARTS_EXPRESSION
           
static int JSE_OPTIONAL_OPERAND_MISSING
           
static int JSE_PARENTHESES_NOT_ALLOWED_HERE
           
static int JSE_PARSER_END
           
static int JSE_PARSER_OFFSET
           
static int JSE_RETURN_NOT_ALLOWED_HERE
           
static int JSE_RIGHT_OPERAND_MISSING
           
static int JSE_SEMICOLON_EXPECTED
           
static int JSE_TERMCONST_NOT_ALLOWED_HERE
           
static int JSE_TOMANY_DEFAULT
           
static int JSE_UNEXPECTED_EOS
           
static int JSE_UNEXPECTED_OPERAND
           
static int JSE_UNKNOWN_LABEL
           
static int JSE_WHILE_EXPECTED
           
private static java.lang.String[] aParserErrMsgArray
           
private  stardiv.tokenizer.TokenPosition aTokPos
           
private  int iEndPos
           
private  int iStartPos
           
private  java.lang.String sMsg
           
private  java.lang.String sSrcToErr
           
 
Fields inherited from class stardiv.js.base.JSException
JSException_Msg1, JSException_Msg2, SourceCode, aModuleInfo, nError
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
  ParserException(int i)
           
  ParserException(int i1, int i2, int i3)
           
  ParserException(int i1, int i2, int i3, java.lang.String s)
           
private ParserException(int i1, java.lang.String s1, stardiv.tokenizer.TokenPosition tp, int i2, int i3, java.lang.String s2)
           
 
Method Summary
 java.lang.String getMessage()
           
protected static java.lang.String getMessageForID(int i)
           
 java.lang.String getSourceCode()
           
 
Methods inherited from class stardiv.js.base.JSException
getEndPos, getError, getModuleInfo, getMsg1, getMsg2, getStartPos, setModuleInfo, setSourceCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JSE_BAD_JAVASCRIPT_VERSION

public static final int JSE_BAD_JAVASCRIPT_VERSION

JSE_BAD_OPERATOR

public static final int JSE_BAD_OPERATOR

JSE_BEGIN_BLOCK_REQUIRED

public static final int JSE_BEGIN_BLOCK_REQUIRED

JSE_BLOCK_END_NOT_ALLOWED

public static final int JSE_BLOCK_END_NOT_ALLOWED

JSE_BREAK_OUTSIDE_LOOP

public static final int JSE_BREAK_OUTSIDE_LOOP

JSE_CASE_NOT_ALLOWED

public static final int JSE_CASE_NOT_ALLOWED

JSE_CONSTANT_EXPECTED

public static final int JSE_CONSTANT_EXPECTED

JSE_CONTINUE_NOT_ALLOWED_HERE

public static final int JSE_CONTINUE_NOT_ALLOWED_HERE

JSE_CONTINUE_NOT_IN_LOOP

public static final int JSE_CONTINUE_NOT_IN_LOOP

JSE_DEFAULT_NOT_ALLOWED

public static final int JSE_DEFAULT_NOT_ALLOWED

JSE_END_OF_BLOCK_EXPECTED

public static final int JSE_END_OF_BLOCK_EXPECTED

JSE_EXPRESSION_EXPECTED

public static final int JSE_EXPRESSION_EXPECTED

JSE_EXPR_END

public static final int JSE_EXPR_END

JSE_EXPR_ENDED_WITH_OPERATOR

public static final int JSE_EXPR_ENDED_WITH_OPERATOR

JSE_EXPR_NO_OF_ERR

public static final int JSE_EXPR_NO_OF_ERR

JSE_EXPR_OFFSET

public static final int JSE_EXPR_OFFSET

JSE_FCN_CALL_CLOSE_REQUIRED

public static final int JSE_FCN_CALL_CLOSE_REQUIRED

JSE_FCN_CALL_OPEN_EXPECTED

public static final int JSE_FCN_CALL_OPEN_EXPECTED

JSE_FCN_IN_FCN

public static final int JSE_FCN_IN_FCN

JSE_INTERNAL_DEBUG

public static final int JSE_INTERNAL_DEBUG

JSE_INTERNAL_ERROR

public static final int JSE_INTERNAL_ERROR

JSE_LABEL_ALLREADY_DEFINED

public static final int JSE_LABEL_ALLREADY_DEFINED

JSE_LEFT_OPERAND_MISSING

public static final int JSE_LEFT_OPERAND_MISSING

JSE_MISSING_FCN_NAME

public static final int JSE_MISSING_FCN_NAME

JSE_MISSING_VAR_NAME

public static final int JSE_MISSING_VAR_NAME

JSE_NO_CASE_LABEL

public static final int JSE_NO_CASE_LABEL

JSE_NO_L_VALUE

public static final int JSE_NO_L_VALUE

JSE_OPERATOR_NOT_ALLOWED_HERE

public static final int JSE_OPERATOR_NOT_ALLOWED_HERE

JSE_OPERATOR_STARTS_EXPRESSION

public static final int JSE_OPERATOR_STARTS_EXPRESSION

JSE_OPTIONAL_OPERAND_MISSING

public static final int JSE_OPTIONAL_OPERAND_MISSING

JSE_PARENTHESES_NOT_ALLOWED_HERE

public static final int JSE_PARENTHESES_NOT_ALLOWED_HERE

JSE_PARSER_END

public static final int JSE_PARSER_END

JSE_PARSER_OFFSET

public static final int JSE_PARSER_OFFSET

JSE_RETURN_NOT_ALLOWED_HERE

public static final int JSE_RETURN_NOT_ALLOWED_HERE

JSE_RIGHT_OPERAND_MISSING

public static final int JSE_RIGHT_OPERAND_MISSING

JSE_SEMICOLON_EXPECTED

public static final int JSE_SEMICOLON_EXPECTED

JSE_TERMCONST_NOT_ALLOWED_HERE

public static final int JSE_TERMCONST_NOT_ALLOWED_HERE

JSE_TOMANY_DEFAULT

public static final int JSE_TOMANY_DEFAULT

JSE_UNEXPECTED_EOS

public static final int JSE_UNEXPECTED_EOS

JSE_UNEXPECTED_OPERAND

public static final int JSE_UNEXPECTED_OPERAND

JSE_UNKNOWN_LABEL

public static final int JSE_UNKNOWN_LABEL

JSE_WHILE_EXPECTED

public static final int JSE_WHILE_EXPECTED

aParserErrMsgArray

private static final java.lang.String[] aParserErrMsgArray

aTokPos

private stardiv.tokenizer.TokenPosition aTokPos

iEndPos

private int iEndPos

iStartPos

private int iStartPos

sMsg

private java.lang.String sMsg

sSrcToErr

private java.lang.String sSrcToErr
Constructor Detail

ParserException

public ParserException(int i)

ParserException

public ParserException(int i1,
                       int i2,
                       int i3)

ParserException

public ParserException(int i1,
                       int i2,
                       int i3,
                       java.lang.String s)

ParserException

private ParserException(int i1,
                        java.lang.String s1,
                        stardiv.tokenizer.TokenPosition tp,
                        int i2,
                        int i3,
                        java.lang.String s2)
Method Detail

getMessage

public java.lang.String getMessage()

getMessageForID

protected static java.lang.String getMessageForID(int i)

getSourceCode

public java.lang.String getSourceCode()

StarOffice 5.2 API
reverse engineered by classdoc