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.synchronizer; michael@0: michael@0: import org.mozilla.gecko.sync.SyncException; michael@0: import org.mozilla.gecko.sync.repositories.RepositorySession; michael@0: michael@0: /** michael@0: * An exception class that indicates that a session was passed michael@0: * to a begin callback and wasn't expected. michael@0: * michael@0: * This shouldn't occur. michael@0: * michael@0: * @author rnewman michael@0: * michael@0: */ michael@0: public class UnexpectedSessionException extends SyncException { michael@0: private static final long serialVersionUID = 949010933527484721L; michael@0: public RepositorySession session; michael@0: michael@0: public UnexpectedSessionException(RepositorySession session) { michael@0: this.session = session; michael@0: } michael@0: }