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.
|
getErrorCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 © 2018 Apache Software Foundation. All rights reserved.