public class ServiceException extends XException
| Constructor and Description |
|---|
ServiceException(ErrorCode errorCode,
java.lang.Object... params)
Create a service exception.
|
ServiceException(XException cause)
Create an service exception from a XException.
|
getErrorCodepublic ServiceException(XException cause)
cause - the XException cause.public ServiceException(ErrorCode errorCode, java.lang.Object... params)
errorCode - error code.params - parameters for the error code message template.Copyright © 2017 Apache Software Foundation. All Rights Reserved.