Skip navigation links
A B C E F G H I N P Q R S T U V 

A

accept(QosException.Visitor<T>) - Method in exception com.palantir.conjure.java.api.errors.QosException
 
accept(QosException.Visitor<T>) - Method in exception com.palantir.conjure.java.api.errors.QosException.RetryOther
 
accept(QosException.Visitor<T>) - Method in exception com.palantir.conjure.java.api.errors.QosException.Throttle
 
accept(QosException.Visitor<T>) - Method in exception com.palantir.conjure.java.api.errors.QosException.Unavailable
 

B

builder() - Static method in class com.palantir.conjure.java.api.errors.SerializableError
 
Builder() - Constructor for class com.palantir.conjure.java.api.errors.SerializableError.Builder
 

C

code() - Method in class com.palantir.conjure.java.api.errors.ErrorType
The ErrorType.Code of this error.
com.palantir.conjure.java.api.errors - package com.palantir.conjure.java.api.errors
 
CONFLICT - Static variable in class com.palantir.conjure.java.api.errors.ErrorType
 
create(ErrorType.Code, String) - Static method in class com.palantir.conjure.java.api.errors.ErrorType
Constructs an ErrorType with the given error ErrorType.Code and name.

E

errorCode() - Method in class com.palantir.conjure.java.api.errors.SerializableError
A fixed code word identifying the type of error.
errorInstanceId() - Method in class com.palantir.conjure.java.api.errors.SerializableError
A unique identifier for this error instance, typically used to correlate errors displayed in user-facing applications with richer backend-level error information.
errorName() - Method in class com.palantir.conjure.java.api.errors.SerializableError
A fixed name identifying the error.
ErrorType - Class in com.palantir.conjure.java.api.errors
Represents errors by code and name.
ErrorType() - Constructor for class com.palantir.conjure.java.api.errors.ErrorType
 
ErrorType.Code - Enum in com.palantir.conjure.java.api.errors
 

F

FAILED_PRECONDITION - Static variable in class com.palantir.conjure.java.api.errors.ErrorType
 
forException(ServiceException) - Static method in class com.palantir.conjure.java.api.errors.SerializableError
Creates a SerializableError representation of this exception that derives from the error code and message, as well as the safe and unsafe parameters.

G

getArgs() - Method in exception com.palantir.conjure.java.api.errors.QosException.RetryOther
 
getArgs() - Method in exception com.palantir.conjure.java.api.errors.QosException.Throttle
 
getArgs() - Method in exception com.palantir.conjure.java.api.errors.QosException.Unavailable
 
getArgs() - Method in exception com.palantir.conjure.java.api.errors.RemoteException
 
getArgs() - Method in exception com.palantir.conjure.java.api.errors.ServiceException
 
getArgs() - Method in exception com.palantir.conjure.java.api.errors.UnknownRemoteException
 
getBody() - Method in exception com.palantir.conjure.java.api.errors.UnknownRemoteException
Returns the body of the error response.
getError() - Method in exception com.palantir.conjure.java.api.errors.RemoteException
Returns the error thrown by a remote process which caused an RPC call to fail.
getErrorInstanceId() - Method in exception com.palantir.conjure.java.api.errors.ServiceException
A unique identifier for (this instance of) this error.
getErrorType() - Method in exception com.palantir.conjure.java.api.errors.ServiceException
The ErrorType that gave rise to this exception.
getLogMessage() - Method in exception com.palantir.conjure.java.api.errors.QosException.RetryOther
 
getLogMessage() - Method in exception com.palantir.conjure.java.api.errors.QosException.Throttle
 
getLogMessage() - Method in exception com.palantir.conjure.java.api.errors.QosException.Unavailable
 
getLogMessage() - Method in exception com.palantir.conjure.java.api.errors.RemoteException
 
getLogMessage() - Method in exception com.palantir.conjure.java.api.errors.ServiceException
 
getLogMessage() - Method in exception com.palantir.conjure.java.api.errors.UnknownRemoteException
 
getMessage() - Method in exception com.palantir.conjure.java.api.errors.RemoteException
 
getMessage() - Method in exception com.palantir.conjure.java.api.errors.ServiceException
 
getParameters() - Method in exception com.palantir.conjure.java.api.errors.ServiceException
Deprecated.
getRedirectTo() - Method in exception com.palantir.conjure.java.api.errors.QosException.RetryOther
Indicates an alternative URL of this service against which the request may be retried.
getRetryAfter() - Method in exception com.palantir.conjure.java.api.errors.QosException.Throttle
 
getStatus() - Method in exception com.palantir.conjure.java.api.errors.RemoteException
The HTTP status code of the HTTP response conveying the remote exception.
getStatus() - Method in exception com.palantir.conjure.java.api.errors.UnknownRemoteException
The HTTP status code of the HTTP response conveying the error.

H

httpErrorCode() - Method in class com.palantir.conjure.java.api.errors.ErrorType
The HTTP error code used to convey this error to HTTP clients.

I

INTERNAL - Static variable in class com.palantir.conjure.java.api.errors.ErrorType
 
INVALID_ARGUMENT - Static variable in class com.palantir.conjure.java.api.errors.ErrorType
 

N

name() - Method in class com.palantir.conjure.java.api.errors.ErrorType
The name of this error type.
NOT_FOUND - Static variable in class com.palantir.conjure.java.api.errors.ErrorType
 

P

parameters() - Method in class com.palantir.conjure.java.api.errors.SerializableError
A set of parameters that further explain the error.
PERMISSION_DENIED - Static variable in class com.palantir.conjure.java.api.errors.ErrorType
 

Q

QosException - Exception in com.palantir.conjure.java.api.errors
An exception raised by a service to indicate a potential Quality-of-Service problem, specifically requesting that the client making the request should retry the request again now/later/never, possibly against a different node of this service.
QosException.RetryOther - Exception in com.palantir.conjure.java.api.errors
QosException.Throttle - Exception in com.palantir.conjure.java.api.errors
QosException.Unavailable - Exception in com.palantir.conjure.java.api.errors
QosException.Visitor<T> - Interface in com.palantir.conjure.java.api.errors
 

R

RemoteException - Exception in com.palantir.conjure.java.api.errors
An exception thrown by an RPC client to indicate remote/server-side failure.
RemoteException(SerializableError, int) - Constructor for exception com.palantir.conjure.java.api.errors.RemoteException
 
REQUEST_ENTITY_TOO_LARGE - Static variable in class com.palantir.conjure.java.api.errors.ErrorType
 
retryOther(URL) - Static method in exception com.palantir.conjure.java.api.errors.QosException
Returns a QosException.RetryOther exception indicating that the calling client should retry against the given node of this service.
retryOther(URL, Throwable) - Static method in exception com.palantir.conjure.java.api.errors.QosException
Like QosException.retryOther(URL), but includes a cause.

S

SerializableError - Class in com.palantir.conjure.java.api.errors
A JSON-serializable representation of an exception/error, represented by its error code, an error name identifying the (specific sub-) type of error, an optional set of named parameters detailing the error condition.
SerializableError() - Constructor for class com.palantir.conjure.java.api.errors.SerializableError
 
SerializableError.Builder - Class in com.palantir.conjure.java.api.errors
 
ServiceException - Exception in com.palantir.conjure.java.api.errors
A ServiceException thrown in server-side code to indicate server-side error states.
ServiceException(ErrorType, Arg<?>...) - Constructor for exception com.palantir.conjure.java.api.errors.ServiceException
Creates a new exception for the given error.
ServiceException(ErrorType, Throwable, Arg<?>...) - Constructor for exception com.palantir.conjure.java.api.errors.ServiceException
As above, but additionally records the cause of this exception.

T

throttle() - Static method in exception com.palantir.conjure.java.api.errors.QosException
Returns a QosException.Throttle exception indicating that the calling client should throttle its requests.
throttle(Throwable) - Static method in exception com.palantir.conjure.java.api.errors.QosException
Like QosException.throttle(), but includes a cause.
throttle(Duration) - Static method in exception com.palantir.conjure.java.api.errors.QosException
Like QosException.throttle(), but additionally requests that the client wait for at least the given duration before retrying the request.
throttle(Duration, Throwable) - Static method in exception com.palantir.conjure.java.api.errors.QosException
Like QosException.throttle(Duration), but includes a cause.
TIMEOUT - Static variable in class com.palantir.conjure.java.api.errors.ErrorType
 

U

UNAUTHORIZED - Static variable in class com.palantir.conjure.java.api.errors.ErrorType
 
unavailable() - Static method in exception com.palantir.conjure.java.api.errors.QosException
An exception indicating that (this node of) this service is currently unavailable and the client may try again at a later time, possibly against a different node of this service.
unavailable(Throwable) - Static method in exception com.palantir.conjure.java.api.errors.QosException
Like QosException.unavailable(), but includes a cause.
UnknownRemoteException - Exception in com.palantir.conjure.java.api.errors
An exception thrown by an RPC client to indicate remote/server-side failure from a non-remoting server.
UnknownRemoteException(int, String) - Constructor for exception com.palantir.conjure.java.api.errors.UnknownRemoteException
 

V

valueOf(String) - Static method in enum com.palantir.conjure.java.api.errors.ErrorType.Code
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.palantir.conjure.java.api.errors.ErrorType.Code
Returns an array containing the constants of this enum type, in the order they are declared.
visit(QosException.Throttle) - Method in interface com.palantir.conjure.java.api.errors.QosException.Visitor
 
visit(QosException.RetryOther) - Method in interface com.palantir.conjure.java.api.errors.QosException.Visitor
 
visit(QosException.Unavailable) - Method in interface com.palantir.conjure.java.api.errors.QosException.Visitor
 
A B C E F G H I N P Q R S T U V 
Skip navigation links