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.sync; michael@0: michael@0: public class UnexpectedJSONException extends Exception { michael@0: private static final long serialVersionUID = 4797570033096443169L; michael@0: michael@0: public UnexpectedJSONException(String detailMessage) { michael@0: super(detailMessage); michael@0: } michael@0: michael@0: public static class BadRequiredFieldJSONException extends UnexpectedJSONException { michael@0: private static final long serialVersionUID = -9207736984784497612L; michael@0: michael@0: public BadRequiredFieldJSONException(String string) { michael@0: super(string); michael@0: } michael@0: } michael@0: }