-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
distinct exception type thrown when best available objects not found (#…
…209) * distinct exception type for when best available seats not found to make it easier to handle this case * refactoring
- Loading branch information
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
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
13 changes: 13 additions & 0 deletions
13
src/main/java/seatsio/events/BestAvailableObjectsNotFoundException.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,13 @@ | ||
package seatsio.events; | ||
|
||
import seatsio.ApiError; | ||
import seatsio.SeatsioException; | ||
|
||
import java.util.List; | ||
|
||
public class BestAvailableObjectsNotFoundException extends SeatsioException { | ||
|
||
public BestAvailableObjectsNotFoundException(List<ApiError> errors, String requestId) { | ||
super(errors, requestId); | ||
} | ||
} |
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