@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.
|
getErroraddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 © 2022 Apache Software Foundation. All rights reserved.