Object
~~|
~~+--
try-error
~~~~~~~|
~~~~~~~+--
condition
~~~~~~~~~~~~|
~~~~~~~~~~~~+--
error
~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~+--
simpleError
~~~~~~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~~~~~~+--
Exception
~~~~~~~~~~~~~~~~~~~~~~~~~~~|
~~~~~~~~~~~~~~~~~~~~~~~~~~~+--
RccViolationException
Directly known subclasses:
public static class RccViolationException extends Exception
An RccViolationException indicates a violation of the R Coding Conventions (RCC).
It is generated by setConstructorS3()
and setMethodS3()
.
It is not meant to be caught, but instead the source code that
violates the RCC should be fixed. For more information about RCC, see
references below.
RccViolationException(...)
character
strings, which will be concatenated and
contain informative message about why the RCC was violated. as.character |
|
Gets a string representing of the RCC violation. | |
getRccUrl |
Static method to get a URL where the RCC can be found. |
try
() and tryCatch()
.
For detailed information about exceptions see Exception
.
The R Coding Conventions (RCC) can be found at
http://aroma-project.org/developers/RCC/.
## Not run:
# setConstructorS3("myClass", function() { extends(Object(), .value=0) })
# setMethodS3("MyMethod", "myClass", function(this) { "Hullo!" })
# ## End(Not run)
Run the code above in your browser using DataCamp Workspace