Class LibraryJOAL.Exception

All Implemented Interfaces:
Serializable
Enclosing class:
LibraryJOAL

public static class LibraryJOAL.Exception extends SoundSystemException
The LibraryJOAL.Exception class provides library-specific error information.
See Also:
  • Field Details

    • CREATE

      public static final int CREATE
      Global identifier for an exception during AL.create(). Probably means that OpenAL is not supported.
      See Also:
    • INVALID_NAME

      public static final int INVALID_NAME
      Global identifier for an invalid name parameter in OpenAL.
      See Also:
    • INVALID_ENUM

      public static final int INVALID_ENUM
      Global identifier for an invalid parameter in OpenAL.
      See Also:
    • INVALID_VALUE

      public static final int INVALID_VALUE
      Global identifier for an invalid enumerated parameter value in OpenAL.
      See Also:
    • INVALID_OPERATION

      public static final int INVALID_OPERATION
      Global identifier for an illegal call in OpenAL.
      See Also:
    • OUT_OF_MEMORY

      public static final int OUT_OF_MEMORY
      Global identifier for OpenAL out of memory.
      See Also:
    • LISTENER

      public static final int LISTENER
      Global identifier for an exception while creating the OpenAL Listener.
      See Also:
    • NO_AL_PITCH

      public static final int NO_AL_PITCH
      Global identifier for OpenAL AL_PITCH not supported.
      See Also:
  • Constructor Details

    • Exception

      public Exception(String message)
      Constructor: Generates a standard "unknown error" exception with the specified message.
      Parameters:
      message - A brief description of the problem that occurred.
    • Exception

      public Exception(String message, int type)
      Constructor: Generates an exception of the specified type, with the specified message.
      Parameters:
      message - A brief description of the problem that occurred.
      type - Identifier indicating they type of error.