public class ServiceRuntimeException extends RuntimeException
Constructor and Description |
---|
ServiceRuntimeException() |
ServiceRuntimeException(ServiceException cause)
It often is the case that analogous ServiceException and ServiceRuntimeExceptions
are needed so that exception types can be uniformly thrown from Reef APIs that
declare throws clauses, and legacy interfaces that do not.
|
ServiceRuntimeException(String message) |
ServiceRuntimeException(String message,
Throwable cause) |
ServiceRuntimeException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Throwable |
unwrap()
Upon catching a ServiceRuntimeException, the receiving code should call unwrap().
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceRuntimeException()
public ServiceRuntimeException(ServiceException cause)
cause
- ServiceException to wrappublic ServiceRuntimeException(String message, Throwable cause)
public ServiceRuntimeException(String message)
public ServiceRuntimeException(Throwable cause)
Copyright © 2016 The Apache Software Foundation. All rights reserved.