public class DbxApiException extends DbxException
Constructor and Description |
---|
DbxApiException(String requestId,
LocalizedText userMessage,
String message) |
DbxApiException(String requestId,
LocalizedText userMessage,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
protected static String |
buildMessage(String routeName,
LocalizedText userMessage) |
protected static String |
buildMessage(String routeName,
LocalizedText userMessage,
Object errorValue) |
LocalizedText |
getUserMessage()
Returns a human-readable message that can be displayed to the end user.
|
getRequestId
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DbxApiException(String requestId, LocalizedText userMessage, String message)
public DbxApiException(String requestId, LocalizedText userMessage, String message, Throwable cause)
public LocalizedText getUserMessage()
If no such message is available, then this method returns null
.
null
if unavailableprotected static String buildMessage(String routeName, LocalizedText userMessage)
protected static String buildMessage(String routeName, LocalizedText userMessage, Object errorValue)