jscicalc.Error Class Reference

Used to handle errors. More...

Inheritance diagram for jscicalc.Error:

jscicalc.OObject jscicalc.GObject
Collaboration diagram for jscicalc.Error:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Error (String s)
 Constructor.
String toString ()
 Describe the error.

Private Attributes

String s
 A string describing the error.


Detailed Description

Used to handle errors.

This feature is not really implemented but in principle the Parser class could work out where an error occurred and report it so that CalculatorApplet could move the caret to the position appropriate for correcting the error

Author:
J. D. Lamb
Version:
Revision
1.5

Constructor & Destructor Documentation

jscicalc.Error.Error ( String  s  ) 

Constructor.

Parameters:
s A string describing the error

Referenced by jscicalc.expression.jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject >.substitute().


Member Function Documentation

String jscicalc.Error.toString (  ) 

Describe the error.

Returns:
a description of the error

References jscicalc.Error.s.


Member Data Documentation

String jscicalc.Error.s [private]

A string describing the error.

Referenced by jscicalc.Error.toString().


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

Generated on Sun Jun 1 08:57:42 2008 for Java Scientific Calculator by  doxygen 1.5.5