Serialized Form


Package net.sourceforge.unit

Class net.sourceforge.unit.Converter extends java.applet.Applet implements Serializable

Serialized Fields

val1

net.sourceforge.jmisc.TextFloat val1

val2

net.sourceforge.jmisc.TextFloat val2

unit1

Unit unit1

unit2

Unit unit2

text1

net.sourceforge.jmisc.ColorText text1

text2

net.sourceforge.jmisc.ColorText text2

comment1

java.awt.TextField comment1

comment2

java.awt.TextField comment2

errors

java.awt.TextField errors

system

UnitSystem system

Class net.sourceforge.unit.ParseException extends java.lang.Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

net.sourceforge.unit.Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

java.lang.String eol
The end of line string for this machine.

Class net.sourceforge.unit.TokenMgrError extends java.lang.Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.

Class net.sourceforge.unit.UnitMismatchException extends java.lang.Exception implements Serializable