org.biomage.Common
Class MAGEException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.biomage.Common.MAGEException
All Implemented Interfaces:
java.io.Serializable

public class MAGEException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
MAGEException()
          Description: Default constructor for the MAGEException object.
MAGEException(java.lang.String s)
          Description: Constructor for the MAGEException object.
MAGEException(java.lang.Throwable t, java.lang.String location)
          Description: Specialized constructor for the MAGEException object.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MAGEException

public MAGEException(java.lang.String s)
Description: Constructor for the MAGEException object.

Parameters:
s: - Display String to associate with the exception

MAGEException

public MAGEException()
Description: Default constructor for the MAGEException object.


MAGEException

public MAGEException(java.lang.Throwable t,
                     java.lang.String location)
Description: Specialized constructor for the MAGEException object. If the type of the throwable is already a MAGEException, simply uses that string. If it is not a MAGEException, constructs a new message by concatenating location with the string associated with the Throwable.

Parameters:
t: - Throwable used as the basis to construct a new message