forked from flaptor/indextank-java
-
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.
Moving inner classes back to IndexTankClient to ensure backwards comp…
…atibility
- Loading branch information
Adrian
committed
Apr 16, 2011
1 parent
87a295c
commit 6365bdc
Showing
9 changed files
with
497 additions
and
493 deletions.
There are no files selected for viewing
478 changes: 0 additions & 478 deletions
478
src/main/java/com/flaptor/indextank/apiclient/ApiClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 3 additions & 1 deletion
4
src/main/java/com/flaptor/indextank/apiclient/AuthenticationFailedException.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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
package com.flaptor.indextank.apiclient; | ||
|
||
import com.flaptor.indextank.apiclient.IndexTankClient.HttpCodeException; | ||
|
||
|
||
public class AuthenticationFailedException extends Exception { | ||
public AuthenticationFailedException( | ||
ApiClient.HttpCodeException source) { | ||
HttpCodeException source) { | ||
super(source.getMessage()); | ||
} | ||
} |
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
4 changes: 3 additions & 1 deletion
4
src/main/java/com/flaptor/indextank/apiclient/IndexAlreadyExistsException.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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
package com.flaptor.indextank.apiclient; | ||
|
||
import com.flaptor.indextank.apiclient.IndexTankClient.HttpCodeException; | ||
|
||
|
||
public class IndexAlreadyExistsException extends Exception { | ||
public IndexAlreadyExistsException(ApiClient.HttpCodeException source) { | ||
public IndexAlreadyExistsException(HttpCodeException source) { | ||
super(source.getMessage()); | ||
} | ||
} |
4 changes: 3 additions & 1 deletion
4
src/main/java/com/flaptor/indextank/apiclient/IndexDoesNotExistException.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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
package com.flaptor.indextank.apiclient; | ||
|
||
import com.flaptor.indextank.apiclient.IndexTankClient.HttpCodeException; | ||
|
||
|
||
public class IndexDoesNotExistException extends Exception { | ||
public IndexDoesNotExistException(ApiClient.HttpCodeException source) { | ||
public IndexDoesNotExistException(HttpCodeException source) { | ||
super(source.getMessage()); | ||
} | ||
} |
Oops, something went wrong.