Learn R Programming

R.oo (version 1.7.5)

throw.Exception: 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.

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

Run this code
For a complete example see help(Exception).

Run the code above in your browser using DataLab