X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fcommons%2Fprotocol-framework%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fprotocol%2Fframework%2FDeserializerException.java;fp=opendaylight%2Fcommons%2Fprotocol-framework%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fprotocol%2Fframework%2FDeserializerException.java;h=0000000000000000000000000000000000000000;hp=608e949085219a1cd1552424f0e875f5d22fbf2e;hb=15cbdc938e9991c2067002b042af40188e3965ab;hpb=ade8e8f150958c60988fd7a70ab889e31a1ed911 diff --git a/opendaylight/commons/protocol-framework/src/main/java/org/opendaylight/protocol/framework/DeserializerException.java b/opendaylight/commons/protocol-framework/src/main/java/org/opendaylight/protocol/framework/DeserializerException.java deleted file mode 100644 index 608e949085..0000000000 --- a/opendaylight/commons/protocol-framework/src/main/java/org/opendaylight/protocol/framework/DeserializerException.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) 2013 Cisco Systems, Inc. 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.protocol.framework; - -/** - * Used when something occurs during parsing bytes to java objects. - * - * @deprecated This exception no longer carries any special meaning. Users - * are advised to stop using it and define their own replacement. - */ -@Deprecated -public class DeserializerException extends Exception { - - private static final long serialVersionUID = -2247000673438452870L; - - /** - * Creates a deserializer exception. - * @param err string - */ - public DeserializerException(final String err) { - super(err); - } - - /** - * Creates a deserializer exception. - * @param err string - * @param e underlying exception - */ - public DeserializerException(final String err, final Throwable e) { - super(err, e); - } -}