X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fmessaging%2FAssemblerClosedException.java;fp=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fmessaging%2FAssemblerClosedException.java;h=83c8dcb987e6023d12c07a15366a8ccb2ade7210;hb=3582bb6dbc506b0c79dd3e4b4f791f4e17cd3103;hp=0000000000000000000000000000000000000000;hpb=90ba78e0575edaa56610eeed936c03261839f2d2;p=controller.git diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/messaging/AssemblerClosedException.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/messaging/AssemblerClosedException.java new file mode 100644 index 0000000000..83c8dcb987 --- /dev/null +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/messaging/AssemblerClosedException.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2017 Inocybe Technologies and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +package org.opendaylight.controller.cluster.messaging; + +import org.opendaylight.yangtools.concepts.Identifier; + +/** + * A MessageSliceException indicating the message assembler has already been closed. + * + * @author Thomas Pantelis + */ +public class AssemblerClosedException extends MessageSliceException { + private static final long serialVersionUID = 1L; + + /** + * Constructs an instance. + * + * @param identifier the identifier whose state was closed + */ + public AssemblerClosedException(final Identifier identifier) { + super(String.format("Message assembler for %s has already been closed", identifier), false); + } +}