moka.lang
Class Error

java.lang.Object
  extended bymoka.lang.Object
      extended bymoka.lang.Error

public class Error
extends Object

The Error class has been designed to deal with error handling.

Since:
MDK2.0

Constructor Summary
Error()
          Constructs a newly allocated Error object that can be used in a try ...
Error(short errCode)
          Constructs a newly allocated Error object that can be used in a try ...
 
Method Summary
 String toString()
          Returns a String object representing this Error's TI-Basic error message string.
 
Methods inherited from class moka.lang.Object
equals, finalize, getClassName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Error

public Error(short errCode)
Constructs a newly allocated Error object that can be used in a try ... catch block.

Parameters:
errCode - a TI-Basic error number.

Error

public Error()
Constructs a newly allocated Error object that can be used in a try ... catch block.

Since:
MDK2.1
Method Detail

toString

public String toString()
Returns a String object representing this Error's TI-Basic error message string.

Overrides:
toString in class Object
Returns:
a string representation of this object.