public class ServiceException extends Exception
service method fails.| Modifier | Constructor and Description |
|---|---|
protected |
ServiceException() |
|
ServiceException(String message) |
|
ServiceException(String message,
Throwable cause) |
|
ServiceException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCause(Class<? extends Throwable> clazz)
Checks to see if any of the causes of the chain of exceptions that led to this ServiceException are an instance
of the given class.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected ServiceException()
public ServiceException(String message)
public ServiceException(Throwable cause)
public boolean containsCause(Class<? extends Throwable> clazz)
clazz - Copyright © 2019. All rights reserved.