lime
Class LimeError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended bylime.LimeError
All Implemented Interfaces:
java.io.Serializable

public class LimeError
extends java.lang.Error

The superclass of every error generated by this package.

Version:
1.0 alpha
Author:
Amy L. Murphy, Gian Pietro Picco
See Also:
Serialized Form

Field Summary
private  java.lang.Throwable internal
           
private  boolean internalFlag
           
 
Fields inherited from class java.lang.Error
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
  LimeError()
          Constructs a LimeError with no detail message.
(package private) LimeError(java.lang.Exception internal)
           
(package private) LimeError(java.lang.Exception internal, java.lang.String s)
           
  LimeError(java.lang.String s)
          Constructs a LimeError with the specified detail message.
 
Method Summary
 java.lang.Throwable getInternal()
          Returns the internal exception associated with this object.
 boolean hasInternal()
           
 void printStackTrace()
          Prints this exception and its backtrace to the standard error stream.
 void printStackTrace(java.io.PrintStream s)
          Prints this exception and its backtrace to the specified print stream.
 void printStackTrace(java.io.PrintWriter s)
          Prints this exception and its backtrace to the specified print writer.
private  void setInternal(java.lang.Exception internal)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

internal

private java.lang.Throwable internal

internalFlag

private boolean internalFlag
Constructor Detail

LimeError

public LimeError()
Constructs a LimeError with no detail message.


LimeError

public LimeError(java.lang.String s)
Constructs a LimeError with the specified detail message.

Parameters:
s - the detail message.

LimeError

LimeError(java.lang.Exception internal)

LimeError

LimeError(java.lang.Exception internal,
          java.lang.String s)
Method Detail

hasInternal

public boolean hasInternal()

getInternal

public java.lang.Throwable getInternal()
Returns the internal exception associated with this object.

Returns:
the internal exception, null if there is none.

toString

public java.lang.String toString()

printStackTrace

public void printStackTrace()
Prints this exception and its backtrace to the standard error stream.


printStackTrace

public void printStackTrace(java.io.PrintStream s)
Prints this exception and its backtrace to the specified print stream.


printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Prints this exception and its backtrace to the specified print writer.


setInternal

private void setInternal(java.lang.Exception internal)