|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectThrowable
Exception
RuntimeException
PageFlowManagedObjectException
public abstract class PageFlowManagedObjectException
Base class for exceptions related to Page Flow managed objects.
PageFlowManagedObject,
Serialized Form| Constructor Summary | |
|---|---|
protected |
PageFlowManagedObjectException(PageFlowManagedObject object)
|
protected |
PageFlowManagedObjectException(PageFlowManagedObject object,
Throwable rootCause)
|
| Method Summary | |
|---|---|
String |
getLocalizedMessage()
|
PageFlowManagedObject |
getManagedObject()
Get the related PageFlowManagedObject. |
String |
getMessage()
|
protected abstract Object[] |
getMessageArgs()
|
protected abstract String[] |
getMessageParts()
|
protected void |
init(PageFlowManagedObject object)
|
void |
printError(PrintWriter writer)
Print a formatted message. |
void |
sendError(ServletRequest request,
ServletResponse response)
Handle the error by writing a message to the response. |
protected void |
setManagedObject(PageFlowManagedObject managedObject)
Set the related PageFlowManagedObject. |
| Methods inherited from class Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected PageFlowManagedObjectException(PageFlowManagedObject object)
protected PageFlowManagedObjectException(PageFlowManagedObject object,
Throwable rootCause)
| Method Detail |
|---|
protected void init(PageFlowManagedObject object)
public PageFlowManagedObject getManagedObject()
PageFlowManagedObject associated with this exception.protected void setManagedObject(PageFlowManagedObject managedObject)
managedObject - the PageFlowManagedObject associated with this exception.
public void sendError(ServletRequest request,
ServletResponse response)
throws IOException
request - the current HttpServletRequestresponse - the current HttpServletResponse
IOExceptionpublic void printError(PrintWriter writer)
writer - a writer to which to print the formatted message.public String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic String getMessage()
getMessage in class Throwableprotected abstract Object[] getMessageArgs()
protected abstract String[] getMessageParts()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||