ierror.java
来自「A Java web application, based on Struts 」· Java 代码 · 共 36 行
JAVA
36 行
/* @LICENSE_COPYRIGHT@ */
package net.sf.irunninglog.util;
import java.io.Serializable;
/**
* Interface definition for errors within the application. This interface
* must be implemented by any error objects that will be used in conjuntion
* with <code>DTO</code>s. The various error-related <code>DTO</code>
* operations alll require instances of the <code>IError</code> interface.
*
* @author <a href="mailto:allan_e_lewis@yahoo.com">Allan Lewis</a>
* @version $Revision: 1.1.1.1 $ $Date: 2005/06/23 01:49:03 $
* @since iRunningLog 1.0
* @see DTO
*/
public interface IError extends Serializable {
/**
* Get the error's key. This method will return the key that uniquely
* identifies the error.
*
* @return The error's key
*/
String getKey();
/**
* Get the error's list of inserts. This method will return a copy of the
* list to prevent external classes from modifying the list's values.
*
* @return The error's list of inserts
*/
String [] getInserts();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?