ierrorproducer.java
来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 31 行
JAVA
31 行
package com.esri.solutions.jitk.web.error;
import java.util.List;
/**
* Pushes an Error to multiple observers for handling. The list of
* observers can be retrieved by calling {@link #getObservers()}.
*
*/
public interface IErrorProducer {
/**
* Pushes the error to multiple observers for handling. The
* <code>error</code> argument must not be <code>null</code> and
* the {@link #push} method must not generate any further exceptions
* or errors.
*
* @param error Error to push to observers, cannot be <code>null</code>.
*/
public void push(IError error);
/**
* Retrieves a list of Error Observers. Each Error Observer will be pushed
* the error to handle to the accordingly. <code>null</code> should never
* be returned from this method.
*
* @return List of Error Observers.
*/
public List<IErrorObserver> getObservers();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?