-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a simple POJO for transmitting errors from custom exception handlers. Added a custom exception handler for when bad things happen when parsing JSON Resolvers. Fixed a couple typos.
- Loading branch information
Bill Smith
committed
Jul 5, 2018
1 parent
382294a
commit 07c7e9f
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/controller/ErrorResponse.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package edu.internet2.tier.shibboleth.admin.ui.controller; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
|
||
/** | ||
* @author Bill Smith (wsmith@unicon.net) | ||
*/ | ||
@AllArgsConstructor | ||
@Getter | ||
@Setter | ||
@ToString | ||
public class ErrorResponse { | ||
private String errorCode; | ||
private String errorMessage; | ||
} |
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
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