Class AsyncMedia.MediaException

All Implemented Interfaces:
Serializable
Enclosing interface:
AsyncMedia

public static class AsyncMedia.MediaException extends RuntimeException

Encapsulates a media exception.

Since

7.0

See Also:
  • Constructor Details

    • MediaException

      public MediaException(AsyncMedia.MediaErrorType type)

      Creates an exception of the given type.

      Parameters
      • type: The type of exception
    • MediaException

      public MediaException(AsyncMedia.MediaErrorType type, String message)

      Creates an exception of the given type.

      Parameters
      • type: THe type of error.

      • message: The error message.

    • MediaException

      public MediaException(AsyncMedia.MediaErrorType type, Throwable cause)

      Creates an exception of the given type.

      Parameters
      • type: The type of error

      • cause: An underlying exception that caused this error.

  • Method Details