⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cacheexception.java

📁 JDBF是一个实现o/r mapping 的软件
💻 JAVA
字号:
/*
 * 14/06/2004 - 12.23.38
 *
 * $RCSfile: CacheException.java,v $ - JDBF Object Relational mapping system
 * Copyright (C) 2002 JDBF Development Team
 * 
 * http://jdbf.sourceforge.net
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

/*

  $Id: CacheException.java,v 1.1 2004/06/28 22:08:46 gmartone Exp $

*/

package org.jdbf.engine.caching;

import org.jdbf.engine.JDBFException;

/**
 * <code>CacheException</code> handles all error that occur during
 * operation against cache.
 * 
 * @author Giovanni Martone<br>
 * @version $Revision: 1.1 $<br>
 * last changed by $Author: gmartone $
 

 */
public class CacheException extends JDBFException {

	/**
	 * Embedded exception
	 */
	private Exception except;
    
    /**
	 * Creates exception with message
	 * @param message
	 */
    public CacheException(String message) {
        super(message);
      
    }

    /**
	 * Creates excpetion with message parsed with type param
	 * @param message
	 * @param type
	 */
    public CacheException(String message, Object type) {
        super(message, type);
       
    }

    /**
	 * Creates exception with message parsed with type param
	 * @param message
	 * @param args
	 */
    public CacheException(String message, Object[] args) {
        super(message, args);
        
    }
    
	/**
	 * Creates exception by Exception
	 * @param except
	 */
	public CacheException(Exception except)
	{
		this("mapping.nested", except.toString());
		this.except = except;
	}

	/**
	 * Return embedded exception
	 * @return Exception
	 */
	public Exception getException() {
		return except;
	}

}


/*
 * 
 * $Log: CacheException.java,v $
 * Revision 1.1  2004/06/28 22:08:46  gmartone
 * Initial revision (task 80421 Enanchement DCS)
 *
 * 
 */
 

⌨️ 快捷键说明

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