📄 shopexception.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 + -