mobile/android/base/fxa/authenticator/FxAccountLoginException.java

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/fxa/authenticator/FxAccountLoginException.java	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +package org.mozilla.gecko.fxa.authenticator;
     1.9 +
    1.10 +public class FxAccountLoginException extends Exception {
    1.11 +  public FxAccountLoginException(String string) {
    1.12 +    super(string);
    1.13 +  }
    1.14 +
    1.15 +  public FxAccountLoginException(Exception e) {
    1.16 +    super(e);
    1.17 +  }
    1.18 +
    1.19 +  private static final long serialVersionUID = 397685959625820798L;
    1.20 +
    1.21 +  public static class FxAccountLoginBadPasswordException extends FxAccountLoginException {
    1.22 +    public FxAccountLoginBadPasswordException(String string) {
    1.23 +      super(string);
    1.24 +    }
    1.25 +
    1.26 +    private static final long serialVersionUID = 397685959625820799L;
    1.27 +  }
    1.28 +
    1.29 +  public static class FxAccountLoginAccountNotVerifiedException extends FxAccountLoginException {
    1.30 +    public FxAccountLoginAccountNotVerifiedException(String string) {
    1.31 +      super(string);
    1.32 +    }
    1.33 +
    1.34 +    private static final long serialVersionUID = 397685959625820800L;
    1.35 +  }
    1.36 +}

mercurial