@InterfaceAudience.Private public class ServerException extends XException
Server
class.Modifier and Type | Class and Description |
---|---|
static class |
ServerException.ERROR
Error codes use by the
Server class. |
Modifier | Constructor and Description |
---|---|
|
ServerException(ServerException.ERROR error,
Object... params)
Creates an server exception using the specified error code.
|
protected |
ServerException(XException.ERROR error,
Object... params)
Constructor for sub-classes.
|
getError
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected ServerException(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.public ServerException(ServerException.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.