Microsoft.Xna.Framework.Audio
Class NoAudioHardwareException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
System.SystemException
System.Runtime.InteropServices.ExternalException
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. |
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 |
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.