/*
 *  Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 *  WSO2 Inc. licenses this file to you under the Apache License,
 *  Version 2.0 (the "License"); you may not use this file except
 *  in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing,
 *  software distributed under the License is distributed on an
 *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *  KIND, either express or implied.  See the License for the
 *  specific language governing permissions and limitations
 *  under the License.
 */

package org.wso2.carbon.uuf.exception;

/**
 * Indicates a generic exception occurred in UUF.
 *
 * @since 1.0.0
 */
public class UUFException extends RuntimeException {

    /**
     * Constructs a new exception with {@code null} as its detail message. The cause is not initialized, and may
     * subsequently be initialized by a call to {@link #initCause(Throwable)}.
     */
    public UUFException() {
    }

    /**
     * Constructs a new exception with the specified detail message. The cause is not initialized, and may
     * subsequently be initialized by a call to {@link #initCause}.
     *
     * @param message the detail message of the exception
     */
    public UUFException(String message) {
        super(message);
    }

    /**
     * Constructs a new exception with the specified cause and a detail message of {@code (cause==null ? null :
     * cause.toString())} which typically contains the class and detail message of the {@code cause}.
     *
     * @param cause the cause of the exception
     */
    public UUFException(Throwable cause) {
        super(cause);
    }

    /**
     * Constructs a new exception with the specified detail message and cause.
     *
     * @param message the detail message of the exception
     * @param cause   the cause of the exception
     */
    public UUFException(String message, Throwable cause) {
        super(message, cause);
    }
}

@@ -1,14 +1,13 @@
 /*%0A *
- 
  Copyrig
@@ -77,17 +77,16 @@
 d.%0A *%0A *
- 
  WSO2 In
@@ -142,17 +142,16 @@
 ense,%0A *
- 
  Version
@@ -207,17 +207,16 @@
 xcept%0A *
- 
  in comp
@@ -242,17 +242,16 @@
 ense.%0A *
- 
  You may
@@ -288,17 +288,16 @@
 at%0A *%0A *
- 
  http://
@@ -337,17 +337,16 @@
 .0%0A *%0A *
- 
  Unless 
@@ -399,17 +399,16 @@
 ting,%0A *
- 
  softwar
@@ -462,17 +462,16 @@
 on an%0A *
- 
  %22AS IS%22
@@ -520,17 +520,16 @@
 F ANY%0A *
- 
  KIND, e
@@ -581,17 +581,16 @@
 r the%0A *
- 
  specifi
@@ -640,17 +640,16 @@
 tions%0A *
- 
  under t
@@ -820,15 +820,8 @@
 nds 
-Runtime
 Exce

extend UUFException from Exception