public class MediaException
extends java.lang.Exception
MediaException
indicates an unexpected error condition in a method.Constructor and Description |
---|
MediaException()
Constructs a
MediaException with null as its
error detail message. |
MediaException(java.lang.String reason)
Constructs a
MediaException with the specified detail message. |
public MediaException()
MediaException
with null
as its
error detail message.public MediaException(java.lang.String reason)
MediaException
with the specified detail message.
The error message string s can later be retrieved by the
Throwable.getMessage()
method of class java.lang.Throwable
.reason
- the detail messageCopyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.