【Java开源代码栏目提醒】:以下是网学会员为您推荐的Java开源代码-AccountNotExistException.java,希望本篇文章对您学习有所帮助。
/*
* Created on 2005-7-25
*
*/
package banksystem.exception;
/**
* @author 曲本盛
*
* TODO Struts 项目实践
*/
public class AccountNotExistException extends Exception {
protected String key = null;
public AccountNotExistException() {}
/**
* @param key
*/
public AccountNotExistException(String key) {
super(key);
this.key = key;
}
/**
* @return Returns the key.
*/
public String getKey() {
return key;
}
/**
* @param key The key to set.
*/
public void setKey(String key) {
this.key = key;
}
}