📄 orderexception.java
字号:
/*
* @author : Reghu
* @Version : 2.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the Application : OrderException.java
* Creation/Modification History :
*
* Reghu 30-sep-2002 Created
*
*/
package oracle.otnsamples.vsm.services;
/**
* A runtime exception thrown by all methods of Order management class to
* indicate an error condition.
*
* @author Reghu
* @version 2.0
*
* @since 2.0
*/
public class OrderException extends ServiceException {
/**
* Default Constructor. Takes no arguments
*
* @since 2.0
*/
public OrderException() {
}
/**
* Constructor
*
* @param <b> message </b> The detailed exception message.
*
* @since 2.0
*/
public OrderException(String message) {
super(message);
}
/**
* Creates a new OrderException object.
*
* @param <b>message</b> The default error message
* @param <b>messageCode</b> Error code
*/
public OrderException(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 OrderException(final String message, final Throwable thr) {
super(message);
cause = thr;
}
/**
* Constructor
*
* @param <b>thr</b> The Throwable class.
*
* @since 2.0
*/
public OrderException(final Throwable thr) {
super((thr == null) ? null : thr.getMessage());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -