contentexception.java

来自「GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。」· Java 代码 · 共 45 行

JAVA
45
字号
package org.gridsphere.services.core.jcr;/** @author <a href="mailto:wehrens@gridsphere.org">Oliver Wehrens</a>* @version $Id$*/public class ContentException extends Exception {    /**     * Constructs a new content exception.     */    public ContentException() {        super();    }    /**     * Creates a new content with the sepcified detail message.     *     * @param message a string indicating why this exception is thrown.     */    public ContentException(String message) {        super(message);    }    /**     * Constructs a new content exception with the given text.     *     * @param text  the exception text     * @param cause the root cause     */    public ContentException(String text, Throwable cause) {        super(text, cause);    }    /**     * Constructs a new content exception when the portlet needs to throw an exception.     *     * @param cause the root cause     */    public ContentException(Throwable cause) {        super(cause);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?