01: /*
02: * Copyright 2002 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */
13:
14: package com.sun.portal.providers.window;
15:
16: import com.sun.portal.container.ErrorCode;
17:
18: /**
19: * WindowErrorCode that must have localized message strings
20: * corresponding to each.
21: **/
22: public class WindowErrorCode extends ErrorCode {
23:
24: //1
25: public static final WindowErrorCode GENERIC_ERROR = new WindowErrorCode(
26: "GENERIC_ERROR");
27:
28: //2
29: public static final WindowErrorCode CONTENT_EXCEPTION = new WindowErrorCode(
30: "CONTENT_EXCEPTION");
31:
32: //3
33: public static final WindowErrorCode INVALID_WINDOW_STATE_CHANGE_REQUEST = new WindowErrorCode(
34: "INVALID_WINDOW_STATE_CHANGE_REQUEST");
35:
36: //4
37: public static final WindowErrorCode INVALID_MODE_CHANGE_REQUEST = new WindowErrorCode(
38: "INVALID_MODE_CHANGE_REQUEST");
39:
40: public WindowErrorCode(String errorCodeKey) {
41: super(errorCodeKey);
42: }
43:
44: }
|