?? cacheexception.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 + -