ewe.util
Class Errorable

java.lang.Object
  extended byewe.util.Errorable
Direct Known Subclasses:
Base64Codec, BasicStreamObject, FileSaver, ImageCodec, RemoteConnection, StreamReader, StreamWriter, TreeConfigFile, ZipFile

public class Errorable
extends Object

An Errorable is a base class for Objects that report some sort of error. It was used when Ewe did not support Exceptions and so has become obsolete, but is still used as a base class for StreamObject.


Field Summary
 String error
          This is the error that was reported.
 
Constructor Summary
Errorable()
           
 
Method Summary
 boolean returnError(String error, boolean retValue)
           
 int returnError(String error, int retValue)
           
 Object returnError(String error, Object retValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Field Detail

error

public String error
This is the error that was reported.

Constructor Detail

Errorable

public Errorable()
Method Detail

returnError

public boolean returnError(String error,
                           boolean retValue)

returnError

public int returnError(String error,
                       int retValue)

returnError

public Object returnError(String error,
                          Object retValue)