-
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.
Change APIException interface into class
- Loading branch information
Daan Kooij
committed
Jul 16, 2018
1 parent
564dd1c
commit db5e9e6
Showing
3 changed files
with
15 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
package nl.utwente.ing.exception; | ||
|
||
/** | ||
* The APIException interface. | ||
* Used as the parent of all APIExceptions. | ||
* The APIException class. | ||
* Extends Exception. | ||
* Used as the superclass of all APIExceptions. | ||
* | ||
* @author Daan Kooij | ||
*/ | ||
public interface APIException { | ||
public class APIException extends Exception { | ||
|
||
/** | ||
* The empty constructor of APIException. | ||
*/ | ||
public APIException() { | ||
|
||
} | ||
|
||
} |
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