javaruntimes/midp/runtime/javasrc/javax/microedition/midlet/MIDletStateChangeException.java
branchRCL_3
changeset 19 04becd199f91
child 23 98ccebc37403
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/javaruntimes/midp/runtime/javasrc/javax/microedition/midlet/MIDletStateChangeException.java	Tue Apr 27 16:30:29 2010 +0300
@@ -0,0 +1,51 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+package javax.microedition.midlet;
+
+/**
+ * An exception for the MIDlet to inform that it doesn't want to do the state
+ * change requested by the life cycle.
+ * @see MIDP spec for further details.
+ *
+ * @author Nokia Corporation
+ * @version $Rev$
+ */
+public class MIDletStateChangeException extends Exception
+{
+
+    /*** ----------------------------- PUBLIC ------------------------------ */
+
+    /**
+    * The default constructor of the MIDletStateChangeException without any
+    * message.
+    */
+    public MIDletStateChangeException()
+    {
+    }
+
+    /**
+    * The constructor of the MIDletStateChangeException with a detailed
+    * message.
+    * @param message The detailed message.
+    */
+    public MIDletStateChangeException(String message)
+    {
+        super(message);
+    }
+}