com.rubecula.util
Class BaseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.rubecula.util.BaseException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Expression.ExpressionException, InvalidOperandException, MillException, PresentableException, PresentationException

public class BaseException
extends java.lang.Exception

Provides a common base class for all checked exceptions so that these can be easily identified and organized.

Since:
V_0_1
Version:
$Revision: 1.3 $
Author:
Robin Hillyard
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
private BaseException()
          You must specify a text message.
  BaseException(java.lang.String s)
          With just the text, initialize the exception.
  BaseException(java.lang.String s, java.lang.Throwable exception)
           
 
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

BaseException

private BaseException()
You must specify a text message. An exception with no info is close to useless, so this method is protected to avoid this kind of thing.


BaseException

public BaseException(java.lang.String s)
With just the text, initialize the exception.

Parameters:
s - the identifying string for this exception.

BaseException

public BaseException(java.lang.String s,
                     java.lang.Throwable exception)
Parameters:
s - the identifying string for this exception.
exception - the cause of the new exception