com.bigbross.bossa
Class BossaException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.bigbross.bossa.BossaException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataTransferException, EvaluationException, PersistenceException, SetAttributeException

public class BossaException
extends Exception

This class represents an exception of the Bossa system.

This exception also implements the behaviour of a nested (or chained) exception, such as the Throwable class in Java 1.4. This is an exception which may contain another throwable which caused it to get thrown.

Author:
BigBross Team
See Also:
Serialized Form

Constructor Summary
BossaException()
          Constructs a new BossaException object with null as its detail message.
BossaException(String message)
          Constructs a new BossaException object with the specified detail message.
BossaException(String message, Throwable cause)
          Constructs a new BossaException object with the specified detail message and cause.
BossaException(Throwable cause)
          Constructs a new BossaException object with the specified cause and a detail message of cause.toString().
 
Method Summary
 Throwable getCause()
          Returns the cause of this BossaException.
 void printStackTrace()
          Prints this BossaException object and its backtrace to the standard error stream.
 void printStackTrace(PrintStream ps)
          Prints this BossaException object and its backtrace to the specified print stream.
 void printStackTrace(PrintWriter pw)
          Prints this BossaException object and its backtrace to the specified print writer.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BossaException

public BossaException()
Constructs a new BossaException object with null as its detail message.


BossaException

public BossaException(String message)
Constructs a new BossaException object with the specified detail message.

Parameters:
message - the detail message.

BossaException

public BossaException(String message,
                      Throwable cause)
Constructs a new BossaException object with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause.

BossaException

public BossaException(Throwable cause)
Constructs a new BossaException object with the specified cause and a detail message of cause.toString().

Parameters:
cause - the cause.
Method Detail

getCause

public Throwable getCause()
Returns the cause of this BossaException. The cause is the throwable that caused this BossaException object to get thrown.

Returns:
the cause.

printStackTrace

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


printStackTrace

public void printStackTrace(PrintStream ps)
Prints this BossaException object and its backtrace to the specified print stream.

Parameters:
ps - PrintStream object to use for output.

printStackTrace

public void printStackTrace(PrintWriter pw)
Prints this BossaException object and its backtrace to the specified print writer.

Parameters:
pw - PrintWriter object to use for output.


Copyright © 2003,2004 OpenBR Sistemas S/C Ltda.