michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: package org.mozilla.gecko.browserid.verifier; michael@0: michael@0: public class BrowserIDVerifierException extends Exception { michael@0: private static final long serialVersionUID = 2228946910754889975L; michael@0: michael@0: public BrowserIDVerifierException(String detailMessage) { michael@0: super(detailMessage); michael@0: } michael@0: michael@0: public BrowserIDVerifierException(Throwable throwable) { michael@0: super(throwable); michael@0: } michael@0: michael@0: public static class BrowserIDVerifierMalformedResponseException extends BrowserIDVerifierException { michael@0: private static final long serialVersionUID = 115377527009652839L; michael@0: michael@0: public BrowserIDVerifierMalformedResponseException(String detailMessage) { michael@0: super(detailMessage); michael@0: } michael@0: michael@0: public BrowserIDVerifierMalformedResponseException(Throwable throwable) { michael@0: super(throwable); michael@0: } michael@0: } michael@0: michael@0: public static class BrowserIDVerifierErrorResponseException extends BrowserIDVerifierException { michael@0: private static final long serialVersionUID = 115377527009652840L; michael@0: michael@0: public BrowserIDVerifierErrorResponseException(String detailMessage) { michael@0: super(detailMessage); michael@0: } michael@0: michael@0: public BrowserIDVerifierErrorResponseException(Throwable throwable) { michael@0: super(throwable); michael@0: } michael@0: } michael@0: }