public abstract class MarkLogicServerException
extends java.lang.RuntimeException
Constructor and Description |
---|
MarkLogicServerException(java.lang.String localMessage) |
MarkLogicServerException(java.lang.String localMessage,
com.marklogic.client.impl.FailedRequest failedRequest) |
MarkLogicServerException(java.lang.String localMessage,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
com.marklogic.client.impl.FailedRequest |
getFailedRequest() |
java.lang.String |
getMessage() |
java.lang.String |
getServerMessage()
Gets the error message (if any) specific to the
error on the server.
|
java.lang.String |
getServerMessageCode()
Gets the error code (if any) specific to the
error on the server.
|
java.lang.String |
getServerStackTrace()
Gets the stack trace (if any) specific to the
error on the server.
|
java.lang.String |
getServerStatus()
Gets the HTTP status message (if any) associated
with the error on the server.
|
int |
getServerStatusCode()
Gets the HTTP status code (if any) associated
with the error on the server.
|
public MarkLogicServerException(java.lang.String localMessage, com.marklogic.client.impl.FailedRequest failedRequest)
localMessage
- message describing the
exceptionfailedRequest
- details about the failed request
behind this exceptionpublic MarkLogicServerException(java.lang.String localMessage)
public MarkLogicServerException(java.lang.String localMessage, java.lang.Throwable cause)
public java.lang.String getMessage()
getMessage
in
class java.lang.Throwable
public int getServerStatusCode()
public java.lang.String getServerStatus()
public java.lang.String getServerMessageCode()
public java.lang.String getServerMessage()
public java.lang.String getServerStackTrace()
public com.marklogic.client.impl.FailedRequest getFailedRequest()
Copyright © 2024 MarkLogic Corporation. All Rights Reserved.