IOExceptionData: Data accessors for IOExceptions

Description Usage Arguments Value See Also

Description

Data elemets used in the IOException hierarchy each have there own S3 based accessor methods which can be used to extract data from an exception if caught. All accessors can be used on any Exception derived object, returning NULL if the data element is not defined for that exception.

Usage

1
2
3
4
5
6
7
8
9
exceptionPath(...)

## S3 method for class 'Exception'
exceptionPath(e, ...)

exceptionTarget(...)

## S3 method for class 'Exception'
exceptionTarget(e, ...)

Arguments

...

Required for generic S3 method implementation, not used by any method defined here.

e

The Exception to query for a data element.

Value

exceptionPath

Returns a file system path (as a one-element character vector).

exceptionTarget

Returns the target of a link (as a one-element character vector).

See Also

IOException


jefferys/Exception documentation built on May 19, 2019, 3:59 a.m.