Remove TransformerGeneratorException 81/94181/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 11 Dec 2020 01:45:36 +0000 (02:45 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 11 Dec 2020 01:45:36 +0000 (02:45 +0100)
This exception is not used anywhere and is package-private, remove
it.

Change-Id: I11378d5e94b276c331ede10d23bf333152ed6e2f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/mdsal/binding/generator/impl/TransformerGeneratorException.java [deleted file]

diff --git a/binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/mdsal/binding/generator/impl/TransformerGeneratorException.java b/binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/mdsal/binding/generator/impl/TransformerGeneratorException.java
deleted file mode 100644 (file)
index cced142..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright (c) 2014 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.mdsal.binding.generator.impl;
-
-final class TransformerGeneratorException extends RuntimeException {
-    private static final long serialVersionUID = 1L;
-
-    TransformerGeneratorException(final String message, final Throwable cause) {
-        super(message, cause);
-    }
-
-    static TransformerGeneratorException wrap(final Class<?> cls, final Throwable cause)
-            throws TransformerGeneratorException {
-        return new TransformerGeneratorException(String.format("Failed to generate for type %s", cls), cause);
-    }
-}