View Javadoc

    1   /***
    2    * JFoxSOAF, Service-Oriented Application Framework
    3    *
    4    * Copyright (C) www.huihoo.org
    5    *
    6    * Distributable under GNU LGPL license
    7    *
    8    * For more information, please visit: http://www.huihoo.org/jfox/jfoxsoaf
    9    */
    10
    11  package org.huihoo.jfox.soaf.exception;
    12
    13  import com.ibatis.common.exception.NestedRuntimeException;
    14
    15  /***
    16   * Represents exceptions raised when a database configration file error.
    17   *
    18   * @author <a href="mailto:founder_chen@yahoo.com.cn">Peter Cheng </a>
    19   * @version $Revision: 1.1 $ $Date: 2004/10/28 15:29:01 $
    20   * @version Revision: 1.0
    21   */
    22
    23  public class DataSourceConfigurationException extends NestedRuntimeException {
    24
    25      /***
    26       * Construct a new exception with no cause and no detail message. Note
    27       * modern JVMs may still track the exception that caused this one.
    28       */
    29      public DataSourceConfigurationException() {
    30      }
    31
    32      /***
    33       * Construct a new exception with no cause and the specified detail message.
    34       * Note modern JVMs may still track the exception that caused this one.
    35       *
    36       * @param message
    37       *            the message detailing the exception.
    38       */
    39      public DataSourceConfigurationException(final String message) {
    40          super(message);
    41
    42      }
    43
    44      /***
    45       * Construct a new exception with the specified cause and no detail message.
    46       *
    47       * @param cause
    48       *            the exception that caused this one.
    49       */
    50      public DataSourceConfigurationException(final String message,
    51              final Throwable cause) {
    52          super(message, cause);
    53      }
    54
    55      /***
    56       * Construct a new exception with the specified cause and no detail message.
    57       *
    58       * @param cause
    59       *            the exception that caused this one.
    60       */
    61      public DataSourceConfigurationException(final Throwable cause) {
    62          super(cause);
    63      }
    64
    65  }