Back to index

wims  3.65+svn20090927
Public Member Functions | Private Attributes
SharpTools.ParserException Class Reference

This Exception is raised when Formula fails in tokenizing or parsing the formula. More...

List of all members.

Public Member Functions

 ParserException ()
 Contructor for ParserException.
 ParserException (String msg)
 ParserException (Object msg)
boolean isQuiet ()
 This returns the value of quiet.
String toString ()
 toString method for ParserException.

Private Attributes

boolean quiet
String msg

Detailed Description

This Exception is raised when Formula fails in tokenizing or parsing the formula.

Author:
Hua Zhong huaz@.nosp@m.cs.c.nosp@m.olumb.nosp@m.ia.e.nosp@m.du
Version:
Revision:
1.6

Definition at line 17 of file ParserException.java.


Constructor & Destructor Documentation

Contructor for ParserException.

By default, sets quiet to true.

Definition at line 24 of file ParserException.java.

{ quiet = true; };
Parameters:
msgthe error message string

Definition at line 29 of file ParserException.java.

{ super(msg); this.msg = msg; };
Parameters:
msgthe error object

Definition at line 34 of file ParserException.java.

                                       {
       super(msg.toString());
       this.msg = msg.toString();
    };

Member Function Documentation

This returns the value of quiet.

Returns:
true if quiet is true, false otherwise

Definition at line 44 of file ParserException.java.

{ return quiet; }

toString method for ParserException.

Returns:
the error message string

Definition at line 51 of file ParserException.java.

{ return msg; }

Member Data Documentation

Definition at line 19 of file ParserException.java.

Definition at line 18 of file ParserException.java.


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