|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.buildforge.services.common.ServiceException.WrappedServiceException
public class ServiceException.WrappedServiceException
This is a simple wrapping class that allows a ServiceException to
be thrown as an unchecked exception. To recover the original
exception from the wrapped version, simply call unwrap()
.
Constructor Summary | |
---|---|
ServiceException.WrappedServiceException()
A wrapper can be requested by anything that has obtained a service exception. |
Method Summary | |
---|---|
ServiceException |
unwrap()
Recovers the original ServiceException. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServiceException.WrappedServiceException()
Method Detail |
---|
public ServiceException unwrap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |