APIdia Launch Partner
Top Description Fields Constructors
jdk.javadoc.internal.doclets.toolkit.util

public Class ResourceIOException

extends DocletException
Class Inheritance
Imports
java.io.IOException, jdk.javadoc.internal.doclets.toolkit.DocletException

Wraps an IOException and the path for the resource to which it applies.

API Note

This exception should be thrown by a doclet when an IO exception occurs and the file is known that was in use when the exception occurred.

Field Summary

Modifier and TypeField and Description
public final DocPath
resource

The resource that was in use when the exception occurred.

private static final long

Constructor Summary

AccessConstructor and Description
public
ResourceIOException(DocPath
the resource in use when the exception occurred
resource
,
IOException
the underlying exception
cause
)

Creates an exception to wrap an IO exception, the resource which caused it.

Field Detail

resourceback to summary
public final DocPath resource

The resource that was in use when the exception occurred.

Annotations
@SuppressWarnings:serial
serialVersionUIDback to summary
private static final long serialVersionUID

Hides jdk.javadoc.internal.doclets.toolkit.DocletException.serialVersionUID.

Constructor Detail

ResourceIOExceptionback to summary
public ResourceIOException(DocPath resource, IOException cause)

Creates an exception to wrap an IO exception, the resource which caused it.

Parameters
resource:DocPath

the resource in use when the exception occurred

cause:IOException

the underlying exception