public final MediaException getError ()

Return any error encountered in the media.

Returns:  a MediaException or null if there is no error.