nestedruntimeexception.java
来自「struts+spring+hibernate自创框架」· Java 代码 · 共 28 行
JAVA
28 行
package com.pegasus.framework.exception;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.Log;
public class NestedRuntimeException extends RuntimeException {
private Log log = LogFactory.getLog(NestedRuntimeException.class);
/**
* Constructor with error message.
*
* @param msg the error message associated with the exception
*/
public NestedRuntimeException(String msg) {
super(msg);
}
/**
* Constructor with error message and root cause.
*
* @param msg the error message associated with the exception
* @param cause the root cause of the exception
*/
public NestedRuntimeException(String msg, Throwable cause) {
super(msg, cause);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?