Back to index

wims  3.65+svn20090927
Public Member Functions | Public Attributes | Package Functions
org.javia.arity.SyntaxException Class Reference

Thrown when the expression can't be compiled, because it's either not well-formed (e.g. More...

List of all members.

Public Member Functions

String toString ()
String toString ()

Public Attributes

String expression
 The expression which caused the error.
String message
 Explicative message (cause of error).
int position
 The position inside expression where the error occured.

Package Functions

SyntaxException set (String str, int pos)
SyntaxException set (String str, int pos)

Detailed Description

Thrown when the expression can't be compiled, because it's either not well-formed (e.g.

"1+"), or because some simbols aren't defined (e.g. "foo+2").

Definition at line 23 of file SyntaxException.java.


Member Function Documentation

SyntaxException org.javia.arity.SyntaxException.set ( String  str,
int  pos 
) [inline, package]

Definition at line 45 of file SyntaxException.java.

                                             {
        message  = str;
        position = pos;
        return this;
    }

Here is the caller graph for this function:

SyntaxException org.javia.arity.SyntaxException.set ( String  str,
int  pos 
) [inline, package]

Definition at line 45 of file SyntaxException.java.

                                             {
        message  = str;
        position = pos;
        return this;
    }

Definition at line 39 of file SyntaxException.java.

                             {
        return "SyntaxException: " + message 
            + " in '" + expression 
            + "' at position " + position;
    }

Definition at line 39 of file SyntaxException.java.

                             {
        return "SyntaxException: " + message 
            + " in '" + expression 
            + "' at position " + position;
    }

Here is the caller graph for this function:


Member Data Documentation

The expression which caused the error.

Definition at line 27 of file SyntaxException.java.

Explicative message (cause of error).

Definition at line 32 of file SyntaxException.java.

The position inside expression where the error occured.

Definition at line 37 of file SyntaxException.java.


The documentation for this class was generated from the following files: