|
|||||||||
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
com.fatwire.cs.ui.exception.UIServiceException
public class UIServiceException
Exception generated from the service layer of CS. Typically it will be created from the ErrorMessage object. If custom rendering is required due to additional parameters being set in the ErrorMessage a custom renderer must be set.
Nested Class Summary | |
---|---|
static class |
UIServiceException.Severity
|
Constructor Summary | |
---|---|
UIServiceException()
Constructs a new Service exception with null as its detail message. |
|
UIServiceException(long errno)
Constructs a new exception with the specified errno. |
|
UIServiceException(java.lang.Throwable cause)
Creates an exception with a nested exception |
Method Summary | |
---|---|
long |
getErrno()
Method to return the error number |
UIServiceException.Severity |
getSeverity()
Returns the severity level of this exception. |
void |
setErrno(long errno)
Sets the error number that will be returned by getErrno() |
void |
setSeverity(UIServiceException.Severity severity)
Method to sets the severity level that will be returned by getSeverity() |
Methods inherited from class com.fatwire.cs.ui.exception.UIException |
---|
getMessage, getName, getRenderer, render, setName, setRenderer |
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 |
---|
public UIServiceException()
public UIServiceException(long errno)
long
- value of the error numberpublic UIServiceException(java.lang.Throwable cause)
Throwable
- the cause of the exceptionMethod Detail |
---|
public UIServiceException.Severity getSeverity()
public void setSeverity(UIServiceException.Severity severity)
Severity
- value of the level of severitypublic long getErrno()
public void setErrno(long errno)
long
- value of the error number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |