📄 searchexception.java
字号:
/*
* Copyright 2003-2004 Michael Franken, Zilverline.
*
* The contents of this file, or the files included with this file, are subject to
* the current version of ZILVERLINE Collaborative Source License for the
* Zilverline Search Engine (the "License"); You may not use this file except in
* compliance with the License.
*
* You may obtain a copy of the License at
*
* http://www.zilverline.org.
*
* See the License for the rights, obligations and
* limitations governing use of the contents of the file.
*
* The Original and Upgraded Code is the Zilverline Search Engine. The developer of
* the Original and Upgraded Code is Michael Franken. Michael Franken owns the
* copyrights in the portions it created. All Rights Reserved.
*
*/
package org.zilverline.core;
/**
* An exception that indicates an Collection can not be searched.
*
* @author Michael Franken
* @version $Revision: 1.4 $
*
*/
public class SearchException extends Exception {
/**
* The <code>serialVersionUID</code>.
*/
private static final long serialVersionUID = 3689909587113752889L;
/**
* Constructs a <code>IndexException</code> with the specified message and no root cause.
*
* @param msg the detail message.
*/
public SearchException(final String msg) {
super(msg);
}
/**
* Constructs a <code>IndexException</code> with the specified message and root cause.
*
* @param msg the detail message.
* @param t the root cause
*/
public SearchException(final String msg, final Throwable t) {
super(msg, t);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -