📄 ierrorproducer.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -