Merge "Bug 8153: Enforce check-style rules for netconf - netconf-notification-api"
[netconf.git] / netconf / netconf-api / src / main / java / org / opendaylight / netconf / api / NetconfDocumentedException.java
index 10f1020bde55be5a20d6cc021a5390834d1ad1ed..94735b07249e9a3acad2fcfc50bc713f498c0b19 100644 (file)
@@ -22,27 +22,33 @@ public class NetconfDocumentedException extends DocumentedException {
         super(message);
     }
 
-    public NetconfDocumentedException(final String message, final ErrorType errorType, final ErrorTag errorTag, final ErrorSeverity errorSeverity) {
+    public NetconfDocumentedException(final String message, final ErrorType errorType, final ErrorTag errorTag,
+                                      final ErrorSeverity errorSeverity) {
         super(message, errorType, errorTag, errorSeverity);
     }
 
-    public NetconfDocumentedException(final String message, final ErrorType errorType, final ErrorTag errorTag, final ErrorSeverity errorSeverity, final Map<String, String> errorInfo) {
+    public NetconfDocumentedException(final String message, final ErrorType errorType, final ErrorTag errorTag,
+                                      final ErrorSeverity errorSeverity, final Map<String, String> errorInfo) {
         super(message, errorType, errorTag, errorSeverity, errorInfo);
     }
 
-    public NetconfDocumentedException(final String message, final Exception cause, final ErrorType errorType, final ErrorTag errorTag, final ErrorSeverity errorSeverity) {
+    public NetconfDocumentedException(final String message, final Exception cause, final ErrorType errorType,
+                                      final ErrorTag errorTag, final ErrorSeverity errorSeverity) {
         super(message, cause, errorType, errorTag, errorSeverity);
     }
 
-    public NetconfDocumentedException(final String message, final Exception cause, final ErrorType errorType, final ErrorTag errorTag, final ErrorSeverity errorSeverity, final Map<String, String> errorInfo) {
+    public NetconfDocumentedException(final String message, final Exception cause, final ErrorType errorType,
+                                      final ErrorTag errorTag, final ErrorSeverity errorSeverity,
+                                      final Map<String, String> errorInfo) {
         super(message, cause, errorType, errorTag, errorSeverity, errorInfo);
     }
 
-    public NetconfDocumentedException(DocumentedException e) {
-        super(e.getMessage(), (Exception) e.getCause(), e.getErrorType(), e.getErrorTag(), e.getErrorSeverity(), e.getErrorInfo());
+    public NetconfDocumentedException(DocumentedException exception) {
+        super(exception.getMessage(), (Exception) exception.getCause(), exception.getErrorType(),
+                exception.getErrorTag(), exception.getErrorSeverity(), exception.getErrorInfo());
     }
 
-    public static NetconfDocumentedException fromXMLDocument( Document fromDoc) {
+    public static NetconfDocumentedException fromXMLDocument(Document fromDoc) {
         return new NetconfDocumentedException(DocumentedException.fromXMLDocument(fromDoc));
     }
 }