public class ServiceException extends XException
| Constructor and Description |
|---|
ServiceException(ErrorCode errorCode,
Object... params)
Create a service exception.
|
ServiceException(XException cause)
Create an service exception from a XException.
|
getErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServiceException(XException cause)
cause - the XException cause.public ServiceException(ErrorCode errorCode, Object... params)
errorCode - error code.params - parameters for the error code message template.Copyright © 2015 Apache Software Foundation. All Rights Reserved.