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 Nov. 2, 2024, 1:07 a.m.