⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shopexception.java

📁 噶额外噶外骨骼感广泛高热感 就 啊啊
💻 JAVA
字号:
/*
* @author                        : Reghu
* @Version                       : 2.0
*
* Development Environment        : Oracle9i JDeveloper
* Name of the Application        : ShopException.java
* Creation/Modification History  :
*
* Reghu      30-sep-2002      Created
* 
*/

package oracle.otnsamples.vsm.services;


/**
 * A runtime exception thrown by all methods of shop management class 
 * to indicate an error condition.
 * @author Reghu
 * @version 2.0
 * @since 2.0
 */
public class ShopException extends ServiceException {
  
  
  /**
   * Default Constructor. Takes no arguments
   * @since 2.0
   */
  public ShopException() {
    
  }
  
  /**
   * Constructor
   * @param <b> message </b> The detailed exception message.
   * @since 2.0
   */
  public ShopException ( String message ) {
    super( message );    
  }
  /**
   * Constructor
   * @param <b> message</b> The detailed exception message.
   * @param <b> messageCode </b> messageCode
   */
  public ShopException ( String message,String code ) {
    super( message,code );
  }
  /**
   * Constructor
   * @param <b>message</b> The detailed exception message.
   * @param <b>thr</b> The Throwable class.
   * @since 2.0
   */
  public ShopException ( final String message, final Throwable thr ) {
    super( message );
    cause = thr ;
  }

  /**
   * Constructor
   * @param <b>thr</b> The Throwable class.
   * @since 2.0
   */
  public ShopException ( final Throwable thr ) {
    super( ( thr == null )? null : thr.getMessage() );
  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -