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: package com.sun.portal.providers.containers;
14:
15: import java.lang.*;
16: import com.sun.portal.providers.*;
17:
18: /**
19: * This exception may be thrown from <code>ContainerProvider.setWindowState()</code>
20: * if an unknown or undefined windowstate is encountered.
21: *
22: * @see com.sun.portal.providers.ProviderException
23: * @see com.sun.portal.providers.ContainerProvider#setWindowState
24: *
25: */
26:
27: public class UnsupportedWindowStateException extends ProviderException {
28: /**
29: * Constructs a new exception with the specified message, indicating an
30: * unexpected window state is encountered.<br><br>
31: *
32: * @param msg The descriptive message.
33: */
34: public UnsupportedWindowStateException(String msg) {
35: super (msg);
36: }
37:
38: /**
39: * Constructs a new exception with the specified message, and the original
40: * <code>exception</code> or <code>error</code>.<br><br>
41: *
42: * @param msg The descriptive message.
43: * @param e The original <code>exception</code> or <code>error</code>.
44: */
45: public UnsupportedWindowStateException(String msg, Throwable e) {
46: super(msg, e);
47: }
48: }
|