01: /* Expectable.java
02:
03: {{IS_NOTE
04:
05: Purpose:
06: Description:
07: History:
08: 2002/04/18 18:24:22, Create, Tom M. Yeh.
09: }}IS_NOTE
10:
11: Copyright (C) 2002 Potix Corporation. All Rights Reserved.
12:
13: {{IS_RIGHT
14: This program is distributed under GPL Version 2.0 in the hope that
15: it will be useful, but WITHOUT ANY WARRANTY.
16: }}IS_RIGHT
17: */
18: package org.zkoss.lang;
19:
20: /**
21: * A specifial interface to denote an exception is expectable -- it means
22: * the exception is <i>not</i> caused by programming error.
23: * It also implies the exception can be resolved by user by retrying
24: * (e.g, for deadlock), correcting (e.g., typro), or fixing (e.g., network
25: * broken).
26: *
27: * <p>It is mainly used to denote no to log the message, if possible,
28: * and only shows up a brief description about the exception, and so on.
29: *
30: * @author tomyeh
31: */
32: public interface Expectable {
33: }
|