org.jsoup
Class UnsupportedMimeTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.jsoup.UnsupportedMimeTypeException
All Implemented Interfaces:
Serializable

public class UnsupportedMimeTypeException
extends IOException

Signals that a HTTP response returned a mime type that is not supported.

See Also:
Serialized Form

Constructor Summary
UnsupportedMimeTypeException(String message, String mimeType, String url)
           
 
Method Summary
 String getMimeType()
           
 String getUrl()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedMimeTypeException

public UnsupportedMimeTypeException(String message,
                                    String mimeType,
                                    String url)
Method Detail

getMimeType

public String getMimeType()

getUrl

public String getUrl()

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2009-2013 Jonathan Hedley. All Rights Reserved.