|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
pt.digitalis.dif.exception.DIFException
pt.digitalis.dif.exception.controller.ControllerException
public class ControllerException
Represents an exception occurred in the controller tasks (AbstractChAL or Dispatcher)
| Constructor Summary | |
|---|---|
ControllerException(ControllerExecutionStep step,
Exception exception)
Constructs a new ControllerException from an Exception. |
|
ControllerException(ControllerExecutionStep step,
String reason)
Constructs a new ControllerException from a reason for the exception. |
|
ControllerException(ControllerExecutionStep step,
String reason,
Exception exception)
Constructs a new ControllerException accepting a reason for the exception |
|
| Method Summary | |
|---|---|
String |
getRenderedExceptionContext()
Renders the exception context. |
ControllerExecutionStep |
getStep()
|
boolean |
isGeneratedFromException()
|
| Methods inherited from class pt.digitalis.dif.exception.DIFException |
|---|
addToExceptionContext, getExceptionContext, 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 |
|---|
public ControllerException(ControllerExecutionStep step,
Exception exception)
exception - the exception to encapsulatestep - the execution step
public ControllerException(ControllerExecutionStep step,
String reason)
reason - the exception causestep - the execution step
public ControllerException(ControllerExecutionStep step,
String reason,
Exception exception)
reason - the exception causeexception - the exception to encapsulatestep - the execution step| Method Detail |
|---|
public String getRenderedExceptionContext()
IContextException
getRenderedExceptionContext in interface IContextExceptiongetRenderedExceptionContext in class DIFExceptionIContextException.getRenderedExceptionContext()public ControllerExecutionStep getStep()
public boolean isGeneratedFromException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||