Skip to content

Commit 39e5968

Browse files
authored
MF-7375 Mark getUserMessage as Nullable (#557)
1 parent 162fa50 commit 39e5968

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/java/com/dropbox/core/DbxApiException.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.dropbox.core;
22

3+
import javax.annotation.Nullable;
4+
35
/**
46
* Base class for API-specific exceptions raised by API v2 routes.
57
*/
@@ -25,6 +27,7 @@ public DbxApiException(String requestId, LocalizedText userMessage, String messa
2527
*
2628
* @return human-readable message to display to end user, or {@code null} if unavailable
2729
*/
30+
@Nullable
2831
public LocalizedText getUserMessage() {
2932
return userMessage;
3033
}

0 commit comments

Comments
 (0)