diff --git a/core/src/main/java/com/dropbox/core/DbxApiException.java b/core/src/main/java/com/dropbox/core/DbxApiException.java index 7c4ace60f..2b96328e2 100644 --- a/core/src/main/java/com/dropbox/core/DbxApiException.java +++ b/core/src/main/java/com/dropbox/core/DbxApiException.java @@ -1,5 +1,7 @@ package com.dropbox.core; +import javax.annotation.Nullable; + /** * Base class for API-specific exceptions raised by API v2 routes. */ @@ -25,6 +27,7 @@ public DbxApiException(String requestId, LocalizedText userMessage, String messa * * @return human-readable message to display to end user, or {@code null} if unavailable */ + @Nullable public LocalizedText getUserMessage() { return userMessage; }