pt.digitalis.dif.exception.controller
Class BusinessFlowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by pt.digitalis.dif.exception.DIFException
              extended by pt.digitalis.dif.exception.InternalFrameworkException
                  extended by pt.digitalis.dif.exception.controller.BusinessFlowException
All Implemented Interfaces:
Serializable, IContextException

public class BusinessFlowException
extends InternalFrameworkException

This exception represents a Business Exception. Whenever an exception is thrown in a stage execution this will be launched by the Dispatcher.

Author:
Pedro Viegas pviegas@digitalis.pt
See Also:
Serialized Form
Created on:
Dec 21, 2007

Constructor Summary
BusinessFlowException(Exception exception, IDIFContext difContext)
          Constructs a new BusinessFlowException from an Exception.
BusinessFlowException(String reason, Exception exception, IDIFContext difContext)
          Constructs a new BusinessFlowException accepting a reason for the exception
BusinessFlowException(String reason, IDIFContext difContext)
          Constructs a new BusinessFlowException from a reason for the exception.
 
Method Summary
 
Methods inherited from class pt.digitalis.dif.exception.InternalFrameworkException
getDIFContext, setDifContext
 
Methods inherited from class pt.digitalis.dif.exception.DIFException
addToExceptionContext, getExceptionContext, getRenderedExceptionContext, setExceptionContext
 
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

BusinessFlowException

public BusinessFlowException(Exception exception,
                             IDIFContext difContext)
Constructs a new BusinessFlowException from an Exception.

Parameters:
exception - the exception to encapsulate
difContext - the execution context

BusinessFlowException

public BusinessFlowException(String reason,
                             IDIFContext difContext)
Constructs a new BusinessFlowException from a reason for the exception.

Parameters:
reason - the exception cause
difContext - the execution context

BusinessFlowException

public BusinessFlowException(String reason,
                             Exception exception,
                             IDIFContext difContext)
Constructs a new BusinessFlowException accepting a reason for the exception

Parameters:
reason - the exception cause
exception - the exception to encapsulate
difContext - the execution context


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.