01: /* Messageable.java
02:
03: {{IS_NOTE
04:
05: Purpose: Extended exception interface
06: Description:
07: History:
08: 2001/7/2, Tom M. Yeh: Created.
09:
10: }}IS_NOTE
11:
12: Copyright (C) 2001 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.mesg;
20:
21: /**
22: * Denotes an object that contains a message by use of an integer,
23: * called code.
24: *
25: * @author tomyeh
26: */
27: public interface Messageable extends MessageConst {
28: /**
29: * Gets the message code.
30: *
31: * @return the message code
32: */
33: public int getCode();
34: }
|