com.boylesoftware.cb2
Class BLException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.boylesoftware.cb2.ApplicationException
              extended bycom.boylesoftware.cb2.BLException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NoBLOContainerException, TooManyWaitingThreadsException

public class BLException
extends ApplicationException

Indicates an unexpected failure in the Business Level. Usually BLOs throw this exception as a reaction to an error in some underlying subsystem, such as the JDBC driver. More specific exceptions can be derived from this one but it is rarely needed.

Version:
$Id: BLException.java,v 1.2 2004/04/16 21:43:27 levahim Exp $
Author:
Lev Himmelfarb
See Also:
BLErrors, Serialized Form

Constructor Summary
BLException(java.lang.String message)
          Creates a new exception with the error description.
BLException(java.lang.String message, java.lang.Throwable cause)
          Creates a new exception with the error description and a throwable that is the cause of this exception.
 
Methods inherited from class com.boylesoftware.cb2.ApplicationException
toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BLException

public BLException(java.lang.String message)
Creates a new exception with the error description.

Parameters:
message - the error description.

BLException

public BLException(java.lang.String message,
                   java.lang.Throwable cause)
Creates a new exception with the error description and a throwable that is the cause of this exception.

Parameters:
message - the error description.
cause - the cause of this exception.


Copyright © 2002,2003,2004 - Boyle Software, Inc.