-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
116 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
41 changes: 41 additions & 0 deletions
41
kegtab/src/main/java/org/kegbot/api/KegbotApiMalformedResponseException.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,41 @@ | ||
/* | ||
* Copyright 2014 Bevbot LLC <[email protected]> | ||
* | ||
* This file is part of the Kegtab package from the Kegbot project. For | ||
* more information on Kegtab or Kegbot, see <http://kegbot.org/>. | ||
* | ||
* Kegtab is free software: you can redistribute it and/or modify it under | ||
* the terms of the GNU General Public License as published by the Free | ||
* Software Foundation, version 2. | ||
* | ||
* Kegtab is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along | ||
* with Kegtab. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.kegbot.api; | ||
|
||
/** Thrown when the server does not return proper JSON. */ | ||
public class KegbotApiMalformedResponseException extends KegbotApiException { | ||
|
||
public KegbotApiMalformedResponseException() { | ||
super(); | ||
} | ||
|
||
public KegbotApiMalformedResponseException(String detailMessage, Throwable throwable) { | ||
super(detailMessage, throwable); | ||
} | ||
|
||
public KegbotApiMalformedResponseException(String detailMessage) { | ||
super(detailMessage); | ||
} | ||
|
||
public KegbotApiMalformedResponseException(Throwable throwable) { | ||
super(throwable); | ||
} | ||
|
||
} |
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
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