throw.Exception: Throws an Exception that can be caught

throw.ExceptionR Documentation

Throws an Exception that can be caught

Description

Throws an Exception that can be caught by tryCatch().

Usage

## S3 method for class 'Exception'
throw(this, ...)

Arguments

...

Not used.

Value

Returns nothing.

Author(s)

Henrik Bengtsson

See Also

For more information see Exception. See also tryCatch(). This method overrides (and is fully backward compatible with) the one defined in the R.methodsS3 package.

Examples

## Not run: For a complete example see help(Exception).

R.oo documentation built on June 12, 2022, 9:05 a.m.