ierror.java

来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 36 行

JAVA
36
字号
package com.esri.solutions.jitk.web.error;

import java.util.UUID;

/**
 * Represents an error produced by a component of the system.  The
 * component could be any control within the application such as a task,
 * map, TOC, etc.  The error is intended to be a GUI-type error and should
 * be a human readable and understandable message.  The message will eventually
 * be presented to the user.
 */
public interface IError {

	/**
	 * Retrieves a unique identifier for this error.
	 *   
	 * @return Unique Identifier
	 */
	public UUID getId();
	
	/**
	 * Retrieves a code for this error.  This code can be used to
	 * represent an error type or category or both.
	 * 
	 * @return Error Code
	 */
	public String getCode();
	
	/**
	 * Retrieves a human-readable error message.
	 * 
	 * @return Error message.
	 */
	public String getMessage ();
}

⌨️ 快捷键说明

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