FileDocCategorySizeDatePackage
MIDletStateChangeException.javaAPI DocJ2ME MIDP 2.0918Thu Nov 07 12:02:28 GMT 2002javax.microedition.midlet

MIDletStateChangeException.java

/*
 * @(#)MIDletStateChangeException.java	1.13 02/07/24 @(#)
 *
 * Copyright (c) 1998-2002 Sun Microsystems, Inc.  All rights reserved.
 * PROPRIETARY/CONFIDENTIAL
 * Use is subject to license terms.
 */

package javax.microedition.midlet;

import java.lang.String;

/**
 * Signals that a requested <code>MIDlet</code> state change failed. This
 * exception is thrown by the <code>MIDlet</code> in response to
 * state change calls
 * into the application via the <code>MIDlet</code> interface
 *
 * @see MIDlet
 * @since MIDP 1.0
 */

public class MIDletStateChangeException extends Exception {

    /**
     * Constructs an exception with no specified detail message.
     */

    public MIDletStateChangeException() {}

    /**
     * Constructs an exception with the specified detail message.
     *
     * @param s the detail message
     */

    public MIDletStateChangeException(String s) {
	super(s);
    }

}