java.io.SerializableFileSystemAccessException, ServerException@Private
public class XException
extends java.lang.Exception
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
XException.ERROR |
Interface to define error codes.
|
| Constructor | Description |
|---|---|
XException(XException cause) |
Creates an XException using another XException as cause.
|
XException(XException.ERROR error,
java.lang.Object... params) |
Creates an XException using the specified error code.
|
| Modifier and Type | Method | Description |
|---|---|---|
XException.ERROR |
getError() |
Returns the error code of the exception.
|
public XException(XException cause)
The error code and error message are extracted from the cause.
cause - exception cause.public XException(XException.ERROR error, java.lang.Object... params)
error - error code for the XException.params - parameters to use when creating the error message
with the error code template.public XException.ERROR getError()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.