public class KnownUnsafeContentTypeException extends UnsafeContentTypeException
Constructor and Description |
---|
KnownUnsafeContentTypeException(FilterMIMEType type) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
details()
Get additional details about the failure
|
FetchException.FetchExceptionMode |
getFetchErrorCode()
Returns the error code that a FetchException may be instantiated with
Subclasses of this exception may override this method to provide more
detailed error messages.
|
java.lang.String |
getHTMLEncodedTitle()
Get the title of the error page.
|
java.lang.String |
getMessage()
Get the contents of the error page.
|
java.lang.String |
getRawTitle()
Get the raw title of the error page.
|
createFetchException, recreateFetchException, toString
public KnownUnsafeContentTypeException(FilterMIMEType type)
public java.lang.String getMessage()
UnsafeContentTypeException
getMessage
in class UnsafeContentTypeException
public java.util.List<java.lang.String> details()
UnsafeContentTypeException
details
in class UnsafeContentTypeException
public java.lang.String getHTMLEncodedTitle()
UnsafeContentTypeException
getHTMLEncodedTitle
in class UnsafeContentTypeException
public java.lang.String getRawTitle()
UnsafeContentTypeException
getRawTitle
in class UnsafeContentTypeException
public FetchException.FetchExceptionMode getFetchErrorCode()
UnsafeContentTypeException
getFetchErrorCode
in class UnsafeContentTypeException