unsw.cse.mica
Class MicaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by unsw.cse.mica.MicaException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ActionException, AgentClassificationException, InitException, ServiceException, SQLBlackboardException, TransportException, TypeException

public abstract class MicaException
extends java.lang.Exception

An abstract superclass for exceptions used within Mica. Exception chaining is implemented in this class to enable compilation within J2ME CDC, which is only Java 1.3 compatible (Exception chaining is part of Java 1.4)

Author:
jhw
See Also:
Serialized Form

Constructor Summary
MicaException(java.lang.String message)
          Create a new MicaException with the given description
MicaException(java.lang.String message, java.lang.Throwable cause)
          Create a chaining MicaException with the given description and cause
MicaException(java.lang.Throwable cause)
          Create a chaining MicaException with the given cause
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MicaException

public MicaException(java.lang.String message)
Create a new MicaException with the given description

Parameters:
message - the description of the problem

MicaException

public MicaException(java.lang.String message,
                     java.lang.Throwable cause)
Create a chaining MicaException with the given description and cause

Parameters:
message - the description of the problem
cause - the actual throwable

MicaException

public MicaException(java.lang.Throwable cause)
Create a chaining MicaException with the given cause

Parameters:
cause - the actual throwable