public class W3CQueryLanguageException extends RuntimeException
http://www.w3.org/TR/xquery/#errors
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
W3CQueryLanguageException.ErrorCategory
Error category.
|
static class |
W3CQueryLanguageException.LanguageFamily
Language family for errors.
|
Modifier and Type | Field and Description |
---|---|
protected static String |
err
Namespace for the error URIs.
|
W3CQueryLanguageException.ErrorCategory |
errorCategory
|
int |
errorCode
The four digit error code.
|
W3CQueryLanguageException.LanguageFamily |
languageFamily
|
Modifier | Constructor and Description |
---|---|
protected |
W3CQueryLanguageException(W3CQueryLanguageException.LanguageFamily languageFamily,
W3CQueryLanguageException.ErrorCategory errorCategory,
int errorCode) |
protected |
W3CQueryLanguageException(W3CQueryLanguageException.LanguageFamily languageFamily,
W3CQueryLanguageException.ErrorCategory errorCategory,
int errorCode,
NV[] params) |
protected |
W3CQueryLanguageException(W3CQueryLanguageException.LanguageFamily languageFamily,
W3CQueryLanguageException.ErrorCategory errorCategory,
int errorCode,
String msg) |
Modifier and Type | Method and Description |
---|---|
protected static String |
toURI(W3CQueryLanguageException.LanguageFamily languageFamily,
W3CQueryLanguageException.ErrorCategory errorCategory,
int errorCode,
NV[] params)
Return the URI for the given error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected static final transient String err
public final W3CQueryLanguageException.LanguageFamily languageFamily
public final W3CQueryLanguageException.ErrorCategory errorCategory
public final int errorCode
protected W3CQueryLanguageException(W3CQueryLanguageException.LanguageFamily languageFamily, W3CQueryLanguageException.ErrorCategory errorCategory, int errorCode)
languageFamily
- The W3CQueryLanguageException.LanguageFamily
.errorCategory
- The W3CQueryLanguageException.ErrorCategory
.errorCode
- The four digit error code.protected W3CQueryLanguageException(W3CQueryLanguageException.LanguageFamily languageFamily, W3CQueryLanguageException.ErrorCategory errorCategory, int errorCode, String msg)
languageFamily
- The W3CQueryLanguageException.LanguageFamily
.errorCategory
- The W3CQueryLanguageException.ErrorCategory
.errorCode
- The four digit error code.msg
- The URI corresponding to the error. Frequently used
errors should use
#toURI(LanguageFamily, ErrorCategory, int)
to define
the URI statically to avoid heap churn.protected W3CQueryLanguageException(W3CQueryLanguageException.LanguageFamily languageFamily, W3CQueryLanguageException.ErrorCategory errorCategory, int errorCode, NV[] params)
languageFamily
- The W3CQueryLanguageException.LanguageFamily
.errorCategory
- The W3CQueryLanguageException.ErrorCategory
.errorCode
- The four digit error code.params
- Additional parameters for the error message (optional and may
be null
). When non-null
and
non-empty, the parameters are appended to the constructed URI
as query parameters.protected static String toURI(W3CQueryLanguageException.LanguageFamily languageFamily, W3CQueryLanguageException.ErrorCategory errorCategory, int errorCode, NV[] params)
languageFamily
- The W3CQueryLanguageException.LanguageFamily
.errorCategory
- The W3CQueryLanguageException.ErrorCategory
.errorCode
- The four digit error code.params
- Additional parameters for the error message (optional and may
be null
). When non-null
and
non-empty, the parameters are appended to the constructed URI
as query parameters.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.