|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.fatwire.cs.ui.exception.UIException
public class UIException
This class is used to create and manage UI named exceptions with a specific name By doing so you are responsible for the lifecycle of adding and removing in to the interface via the UIExceptionManager.
Constructor Summary | |
---|---|
protected |
UIException()
|
protected |
UIException(java.lang.String sExceptionName)
Creates an exception with a specific name. |
protected |
UIException(java.lang.String sExceptionName,
java.lang.Throwable cause)
Creates an exception with a specific name. |
|
UIException(java.lang.Throwable cause)
Creates an exception with a nested exception |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Abstract method must be implemented by exception who knows how to properly retrieve the internationalized error message. |
java.lang.String |
getName()
Used to return the name of this exception |
ExceptionRenderer |
getRenderer()
This method returns the default or customized renderer. |
UIComponent |
render()
Renders this exception for the UI |
void |
setName(java.lang.String sName)
Set the name of the exception if you wish to overide the standard lifecycle of displaying an error message (1 screen). |
void |
setRenderer(ExceptionRenderer renderer)
This method overrides the default renderer. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 |
---|
protected UIException()
protected UIException(java.lang.String sExceptionName)
sExceptionName
- the name to assign to the exceptionpublic UIException(java.lang.Throwable cause)
cause
- of the exceptionprotected UIException(java.lang.String sExceptionName, java.lang.Throwable cause)
sExceptionName
- cause
- is the nested exceptionMethod Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void setRenderer(ExceptionRenderer renderer)
renderer
- the ExceptionRenderer capable of properly
rendering this exceptionpublic ExceptionRenderer getRenderer()
public java.lang.String getName()
public void setName(java.lang.String sName)
sName
- the name to assign to the exceptionpublic UIComponent render()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |