net.sourceforge.floggy.persistence
Class FloggyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sourceforge.floggy.persistence.FloggyException
All Implemented Interfaces:
Serializable

public class FloggyException
extends Exception

Exception thrown to indicate a persistence problem.

Since:
1.0
See Also:
Serialized Form

Field Summary
protected  Throwable rootCause
          The root cause
 
Constructor Summary
FloggyException(String message)
          Construct a new FloggyException with a specified detail message.
FloggyException(String message, Throwable rootCause)
          Construct a new FloggyException with a specified detail message and root cause.
 
Method Summary
 Throwable getRootCause()
          Gets the root cause if any of the current throwable
 void printStackTrace()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rootCause

protected Throwable rootCause
The root cause

Constructor Detail

FloggyException

public FloggyException(String message)
Construct a new FloggyException with a specified detail message.

Parameters:
message - The detail message.

FloggyException

public FloggyException(String message,
                       Throwable rootCause)
Construct a new FloggyException with a specified detail message and root cause.

Parameters:
message - The detail message.
Method Detail

getRootCause

public Throwable getRootCause()
Gets the root cause if any of the current throwable

Returns:
the root cause or null.

printStackTrace

public void printStackTrace()
DOCUMENT ME!

Overrides:
printStackTrace in class Throwable


Copyright © 2006-2011 Floggy Open Source Group. All Rights Reserved.