org.minueto.window
Class MinuetoWindowAlreadyInitializedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.minueto.window.MinuetoWindowAlreadyInitializedException
All Implemented Interfaces:
java.io.Serializable

public class MinuetoWindowAlreadyInitializedException
extends java.lang.RuntimeException

Thrown by the MinuetoWindow constructor to indicate that a MinuetoWindow has already been initialized. Since MinuetoWindow is a singleton, it should only be created once. If another window is required, the first one must be closed using the close method.

Since:
Minueto 0.4
See Also:
MinuetoFullscreen, Serialized Form

Constructor Summary
MinuetoWindowAlreadyInitializedException()
          Constructs a MinuetoWindowAlreadyInitializedException with null as its error message string.
MinuetoWindowAlreadyInitializedException(java.lang.String s)
          Constructs a MinuetoWindowAlreadyInitializedException, saving a reference to the error message string s for later retrieval by the getMessage method.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MinuetoWindowAlreadyInitializedException

public MinuetoWindowAlreadyInitializedException()
Constructs a MinuetoWindowAlreadyInitializedException with null as its error message string.


MinuetoWindowAlreadyInitializedException

public MinuetoWindowAlreadyInitializedException(java.lang.String s)
Constructs a MinuetoWindowAlreadyInitializedException, saving a reference to the error message string s for later retrieval by the getMessage method.

Parameters:
s - String indicating the detailed message.