summaryrefslogtreecommitdiff
path: root/src/com/p4square/restlet/oauth/OAuthException.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2016-04-09 14:22:20 -0700
committerJesse Morgan <jesse@jesterpm.net>2016-04-09 15:48:01 -0700
commit3102d8bce3426d9cf41aeaf201c360d342677770 (patch)
tree38c4f1e8828f9af9c4b77a173bee0d312b321698 /src/com/p4square/restlet/oauth/OAuthException.java
parentbbf907e51dfcf157bdee24dead1d531122aa25db (diff)
Switching from Ivy+Ant to Maven.
Diffstat (limited to 'src/com/p4square/restlet/oauth/OAuthException.java')
-rw-r--r--src/com/p4square/restlet/oauth/OAuthException.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/com/p4square/restlet/oauth/OAuthException.java b/src/com/p4square/restlet/oauth/OAuthException.java
deleted file mode 100644
index dd326d3..0000000
--- a/src/com/p4square/restlet/oauth/OAuthException.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright 2013 Jesse Morgan
- */
-
-package com.p4square.restlet.oauth;
-
-import org.restlet.data.Status;
-
-/**
- * Exception throw when the service provider returns an error.
- *
- * @author Jesse Morgan <jesse@jesterpm.net>
- */
-public class OAuthException extends Exception {
- private final Status mStatus;
-
- public OAuthException(Status status) {
- super("Service provider failed request: " + status.getDescription());
- mStatus = status;
- }
-
- public Status getStatus() {
- return mStatus;
- }
-}