public class MediaException extends 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(String reason)
Constructs a
MediaException with the specified detail
message. |
public MediaException()
MediaException
with null
as its error detail message.public MediaException(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 message.Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.