MetadataException should not extend FileException. It should extend Exception.
Log in to post a comment.