Microsoft.Xna.Framework.Graphics
Class DeviceLostException

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

public final class DeviceLostException
extends java.lang.RuntimeException

The exception that is thrown when the device has been lost, but cannot be reset at this time. Therefore, rendering is not possible.

Author:
Halofreak1990
See Also:
Serialized Form

Constructor Summary
DeviceLostException()
          Initializes a new instance of this class.
DeviceLostException(java.lang.String message)
          Initializes a new instance of this class with the specified error message.
DeviceLostException(java.lang.String message, java.lang.RuntimeException inner)
          Initializes a new instance of this class with the specified error message and a reference to the inner exception that is the cause of this exception.
 
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

DeviceLostException

public DeviceLostException()
Initializes a new instance of this class.


DeviceLostException

public DeviceLostException(java.lang.String message)
Initializes a new instance of this class with the specified error message.

Parameters:
message - A message that describes the error.

DeviceLostException

public DeviceLostException(java.lang.String message,
                           java.lang.RuntimeException inner)
Initializes a new instance of this class with the specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:
message - A message that describes the error.
inner - 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.