Removed checkstyle warnings.
[bgpcep.git] / bgp / parser-api / src / main / java / org / opendaylight / protocol / bgp / parser / BGPParsingException.java
index c09a35f3289c3ce3d577acd47c3fedfd46649ef7..db77312f306ec4e3f25b7ee0eb37a3b5033d56c7 100644 (file)
@@ -7,40 +7,39 @@
  */
 package org.opendaylight.protocol.bgp.parser;
 
-
 /**
  *
  * Used when something occurs during the parsing to get Update Message.
  *
  */
 public class BGPParsingException extends Exception {
-       private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 1L;
 
-       /**
-        *
-        * @param err error message string.
-        */
-       public BGPParsingException(final String err) {
-               super(err);
-       }
+    /**
+     *
+     * @param err error message string.
+     */
+    public BGPParsingException(final String err) {
+        super(err);
+    }
 
-       /**
-        *
-        * @param message exception message
-        * @param cause primary exception
-        */
-       public BGPParsingException(final String message, final Exception cause){
-               super(message, cause);
-       }
+    /**
+     *
+     * @param message exception message
+     * @param cause primary exception
+     */
+    public BGPParsingException(final String message, final Exception cause) {
+        super(message, cause);
+    }
 
-       /**
-        *
-        * @return error message.
-        * 
-        * @deprecated Use getMessage() instead.
-        */
-       @Deprecated
-       public String getError() {
-               return this.getMessage();
-       }
+    /**
+     *
+     * @return error message.
+     *
+     * @deprecated Use getMessage() instead.
+     */
+    @Deprecated
+    public String getError() {
+        return this.getMessage();
+    }
 }