org.broadleafcommerce.common.exception
Class BroadleafException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.broadleafcommerce.common.exception.BroadleafException
All Implemented Interfaces:
Serializable, RootCauseAccessor
Direct Known Subclasses:
PaymentException

public abstract class BroadleafException
extends Exception
implements RootCauseAccessor

Base exception class for BroadleafExceptions that understands root cause messages.

Author:
bpolster
See Also:
Serialized Form

Constructor Summary
BroadleafException()
           
BroadleafException(String message)
           
BroadleafException(String message, Throwable cause)
           
BroadleafException(Throwable cause)
           
 
Method Summary
 Throwable getRootCause()
           
 String getRootCauseMessage()
           
 
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

BroadleafException

public BroadleafException()

BroadleafException

public BroadleafException(String message,
                          Throwable cause)

BroadleafException

public BroadleafException(String message)

BroadleafException

public BroadleafException(Throwable cause)
Method Detail

getRootCause

public Throwable getRootCause()
Specified by:
getRootCause in interface RootCauseAccessor

getRootCauseMessage

public String getRootCauseMessage()
Specified by:
getRootCauseMessage in interface RootCauseAccessor


Copyright © 2013. All Rights Reserved.