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  /***
    14   * <p>
    15   * Cache service exception.
    16   * </p>
    17   *
    18   * @author <a href="mailto:founder_chen@yahoo.com.cn">Peter Cheng </a>
    19   * @version $Revision: 1.1 $ $Date: 2004/10/20 07:59:16 $
    20   * @version Revision: 1.0
    21   */
    22
    23  public class CacheServiceException extends ServiceException {
    24      /***
    25       * Construct a new exception with no cause and the specified detail message.
    26       * Note modern JVMs may still track the exception that caused this one.
    27       *
    28       * @param message
    29       *            the message detailing the exception.
    30       */
    31      protected CacheServiceException(final String message) {
    32          super(message);
    33      }
    34
    35      /***
    36       * Construct a new exception with the specified cause and no detail message.
    37       *
    38       * @param cause
    39       *            the exception that caused this one.
    40       */
    41      protected CacheServiceException(final Throwable cause) {
    42          super(cause);
    43      }
    44
    45      /***
    46       * Construct a new exception with the specified cause and the specified
    47       * detail message.
    48       *
    49       * @param message
    50       *            the message detailing the exception.
    51       * @param cause
    52       *            the exception that caused this one.
    53       */
    54      protected CacheServiceException(final String message, final Throwable cause) {
    55          super(message, cause);
    56      }
    57  }