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