Microsoft.Xna.Framework.Graphics
Class NoSuitableGraphicsDeviceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException
All Implemented Interfaces:
java.io.Serializable

public final class NoSuitableGraphicsDeviceException
extends java.lang.RuntimeException

Thrown when no available graphics device fits the given device preferences.

Author:
Halofreak1990
See Also:
Serialized Form

Constructor Summary
NoSuitableGraphicsDeviceException()
          Creates a new instance of this object.
NoSuitableGraphicsDeviceException(java.lang.String message)
          Creates a new instance of this object.
NoSuitableGraphicsDeviceException(java.lang.String message, java.lang.RuntimeException inner)
          Creates a new instance of this object.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuitableGraphicsDeviceException

public NoSuitableGraphicsDeviceException()
Creates a new instance of this object.


NoSuitableGraphicsDeviceException

public NoSuitableGraphicsDeviceException(java.lang.String message)
Creates a new instance of this object.

Parameters:
message - A message that describes the error.

NoSuitableGraphicsDeviceException

public NoSuitableGraphicsDeviceException(java.lang.String message,
                                         java.lang.RuntimeException inner)
Creates a new instance of this object.

Parameters:
message - A message that describes the error. The exception that is the cause of the current exception. If the inner parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.