Created
November 27, 2016 18:22
-
-
Save havetisyan/e42b0a41dc2027bde939a9184fcb0441 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (code) { | |
- case ResourceException.BAD_REQUEST: | |
- throw typedException(code, e, ResourceError.class); | |
- case ResourceException.FORBIDDEN: | |
- throw typedException(code, e, ResourceError.class); | |
case ResourceException.NOT_FOUND: | |
throw typedException(code, e, ResourceError.class); | |
case ResourceException.UNAUTHORIZED: | |
throw typedException(code, e, ResourceError.class); | |
+ case ResourceException.BAD_REQUEST: | |
+ throw typedException(code, e, ResourceError.class); | |
+ case ResourceException.FORBIDDEN: | |
+ throw typedException(code, e, ResourceError.class); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment