Microsoft.Xna.Framework.Audio
Class NoAudioHardwareException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by System.SystemException
                  extended by System.Runtime.InteropServices.ExternalException
                      extended by Microsoft.Xna.Framework.Audio.NoAudioHardwareException
All Implemented Interfaces:
java.io.Serializable

public class NoAudioHardwareException
extends ExternalException

The exception that is thrown when no audio hardware is present, or when audio hardware is installed, but the device drivers for the audio hardware are not present or enabled.

Author:
Halofreak1990
See Also:
Serialized Form

Constructor Summary
NoAudioHardwareException()
          Initializes a new instance of this class.
NoAudioHardwareException(java.lang.String message)
          Initializes a new instance of this class with a specified error message.
NoAudioHardwareException(java.lang.String message, java.lang.RuntimeException innerException)
          Initializes a new instance of this class with a specified error message and a reference to the inner exception that is the cause of this exception.
 
Method Summary
 
Methods inherited from class System.Runtime.InteropServices.ExternalException
getErrorCode
 
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

NoAudioHardwareException

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


NoAudioHardwareException

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

Parameters:
message - A message that describes the error.

NoAudioHardwareException

public NoAudioHardwareException(java.lang.String message,
                                java.lang.RuntimeException innerException)
Initializes a new instance of this class with a 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.
innerException - The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.