/**
 * Date Modified: $Date: 2010-01-18 10:22:16 +1100 (Mon, 18 Jan 2010) $
 * Version: $Revision: 288 $
 *
 * Copyright 2008 The Australian National University (ANU)
 *
 * Licensed 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.ands.rifcs.base;

/**
 * An exception class for exceptions.
 *
 * @author Scott Yeadon, ANU
 */
public class RIFCSException extends Exception {
    /**
     * create a ROException.
     *
     * @param reason
     *            string describing reason for the exception
     */
    public RIFCSException(final String reason) {
        super(reason);
    }


    /**
     * create a ROException.
     *
     * @param reason
     *            string describing reason for the exception
     * @param cause
     *            A Throwable describing the cause of the exception
     */
    public RIFCSException(final String reason,
                        final Throwable cause) {
        super(reason, cause);
    }


    /**
     * create a ROException.
     *
     * @param cause
     *            A Throwable describing the cause of the exception
     */
    public RIFCSException(final Throwable cause) {
        super(cause);
    }


    /**
     * Obtain the reason for the exception.
     *
     * @return
     *          The message text of the exception
     */
    public final String getMessage() {
        return super.getMessage();
    }
}

/**
 * Date Modified: $Date: 2010-01-18 10:22:16 +1100 (Mon, 18 Jan 2010) $
 * Version: $Revision: 288 $
 *
 * Copyright 2008 The Australian National University (ANU)
 *
 * Licensed 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.ands.rifcs.base;

/**
 * An exception class for exceptions.
 *
 * @author Scott Yeadon, ANU
 */
public class RIFCSException extends Exception {

    /**
     * Serialization UID for this class.
     */
    private static final long serialVersionUID = 8917262045342086205L;

    /**
     * create a ROException.
     *
     * @param reason
     *            string describing reason for the exception
     */
    public RIFCSException(final String reason) {
        super(reason);
    }


    /**
     * create a ROException.
     *
     * @param reason
     *            string describing reason for the exception
     * @param cause
     *            A Throwable describing the cause of the exception
     */
    public RIFCSException(final String reason,
                        final Throwable cause) {
        super(reason, cause);
    }


    /**
     * create a ROException.
     *
     * @param cause
     *            A Throwable describing the cause of the exception
     */
    public RIFCSException(final Throwable cause) {
        super(cause);
    }


    /**
     * Obtain the reason for the exception.
     *
     * @return
     *          The message text of the exception
     */
    public final String getMessage() {
        return super.getMessage();
    }
}

Define serialization UID for RIFCSException