mondrianexception.java
来自「数据仓库展示程序」· Java 代码 · 共 49 行
JAVA
49 行
/*
// $Id: //open/mondrian/src/main/mondrian/olap/MondrianException.java#4 $
// This software is subject to the terms of the Common Public License
// Agreement, available at the following URL:
// http://www.opensource.org/licenses/cpl.html.
// (C) Copyright 2004-2005 Kana Software, Inc. and others.
// All Rights Reserved.
// You must accept the terms of that agreement to use this software.
*/
package mondrian.olap;
/**
* Instances of this class are thrown for all exceptions that Mondrian
* generates through as a result of known error conditions. It is used in the
* resource classes generated from mondrian.resource.MondrianResource.xml.
*
* @author Galt Johnson (gjabx)
* @version $Id: //open/mondrian/src/main/mondrian/olap/MondrianException.java#4 $
* @see org.eigenbase.xom
*/
public class MondrianException extends RuntimeException {
public MondrianException() {
super();
}
public MondrianException(Throwable cause) {
super(cause);
}
public MondrianException(String message) {
super(message);
}
public MondrianException(String message, Throwable cause) {
super(message, cause);
}
public String getLocalizedMessage() {
return getMessage();
}
public String getMessage() {
return "Mondrian Error:" + super.getMessage();
}
}
// End MondrianException.java
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?