|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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 steppublic ControllerException(ControllerExecutionStep step, String reason)
reason
- the exception causestep
- the execution steppublic ControllerException(ControllerExecutionStep step, String reason, Exception exception)
reason
- the exception causeexception
- the exception to encapsulatestep
- the execution stepMethod Detail |
---|
public String getRenderedExceptionContext()
IContextException
getRenderedExceptionContext
in interface IContextException
getRenderedExceptionContext
in class DIFException
IContextException.getRenderedExceptionContext()
public ControllerExecutionStep getStep()
public boolean isGeneratedFromException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |