@InterfaceAudience.Private public class ServiceException extends ServerException
Service
implementations.ServerException.ERROR
Constructor and Description |
---|
ServiceException(XException.ERROR error,
Object... params)
Creates an service exception using the specified error code.
|
getError
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceException(XException.ERROR error, Object... params)
error
- error code for the XException.params
- parameters to use when creating the error message
with the error code template.Copyright © 2008–2019 Apache Software Foundation. All rights reserved.