org.minueto.window
Class MinuetoUnsupportedDisplayModeException

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

public class MinuetoUnsupportedDisplayModeException
extends java.lang.RuntimeException

Thrown by the MinuetoFullscreen constructor to indicate that the desired display mode is not available.

Please note that fullscreen mode is only available under Windows and MacOS X (due to limitations on the JVM on some operating system). Also note that some videocards only work with standard resolutions such as 400x300, 640x480, 800x600, 1024x768, 1280x1024, 1600x1200, etc.

Since:
Minueto 0.4
See Also:
MinuetoFullscreen, Serialized Form

Constructor Summary
MinuetoUnsupportedDisplayModeException()
          Constructs a MinuetoUnsupportedDisplayModeException with null as its error message string.
MinuetoUnsupportedDisplayModeException(java.lang.String s)
          Constructs a MinuetoUnsupportedDisplayModeException, 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

MinuetoUnsupportedDisplayModeException

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


MinuetoUnsupportedDisplayModeException

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

Parameters:
s - String indicating the detailed message.