IllegalStateException.java :  » Game » gameporting » java » lang » Android Open Source

Android Open Source » Game » gameporting 
gameporting » java » lang » IllegalStateException.java
/*********************************************************************
 *  ____                      _____      _                           *
 * / ___|  ___  _ __  _   _  | ____|_ __(_) ___ ___ ___  ___  _ __   *
 * \___ \ / _ \| '_ \| | | | |  _| | '__| |/ __/ __/ __|/ _ \| '_ \  *
 *  ___) | (_) | | | | |_| | | |___| |  | | (__\__ \__ \ (_) | | | | *
 * |____/ \___/|_| |_|\__, | |_____|_|  |_|\___|___/___/\___/|_| |_| *
 *                    |___/                                          *
 *                                                                   *
 *********************************************************************
 * Sony Ericsson Mobile Communications AB, Lund Sweden               *
 * Copyright 2007 Sony Ericsson Mobile Communications AB.            *
 * All rights, including trade secret rights, reserved.              *
 *********************************************************************
 *
 * @file 
 * @ingroup JAVA
 *
 * @copyright_semc
 * @author MIDP
 */
package java.lang;

/**
 * Signals that a method has been invoked at an illegal or inappropriate time.
 * In other words, the Java environment or Java application is not in an
 * appropriate state for the requested operation.
 * 
 * @since MIDP 1.0
 */
public class IllegalStateException extends RuntimeException {
  /**
   * Constructs an IllegalStateException with no detail message.
   */
  public IllegalStateException() {
    super();
  }

  /**
   * Constructs an IllegalStateException with the specified detail message. A
   * detail message is a String that describes this particular exception.
   * 
   * @param s
   *            the String that contains a detailed message
   */
  public IllegalStateException(String s) {
    super(s);
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.