|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThrowable
Exception
ServiceException
public class ServiceException
The ServiceException class declares an checked exception that is thrown by the Service API runtime under certain failure conditions.
Constructor Summary | |
---|---|
ServiceException(String message)
Constructs a ServiceException object with the specified String as a message. |
|
ServiceException(String message,
Throwable t)
Constructs a ServiceException object using the specified String as a message, and the specified Throwable as a nested exception. |
Method Summary |
---|
Methods inherited from class Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServiceException(String message)
message
- The message to use.public ServiceException(String message, Throwable t)
message
- The message to use.t
- The exception to nest within this
exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |