R.oo (version 1.0.3)

reportBug.InternalErrorException: Send a bug report

Description

Send a bug report about this error to the maintainer and author of the suspicious package. NOTE: This method is still not supported and does NOT work!

Usage

## S3 method for class 'InternalErrorException}(this, method=c("htmlform"), verbose=TRUE, ...)':
reportBugundefined

method{If "htmlform", a temporary HTML page containing
   a bug report form with additional pre-entered information about the
   exception and the R platform etc, is opened form manual editing. By
   submitting this report, the author of the R.oo package will
   receive a bug report, which will also be sent back to the reporter.}
 verbose{If TRUE, progress information is written while creating
   the HTML page.}
 ...{Not used.}

Returns nothing.

[object Object]

library(R.colors)

myLog <- function(x, ...) {
  if (!is.numeric(x)) {
    throw(InternalErrorException("Argument 'x' to myLog() is not numeric: ", mode(x), package=R.colors))
  }
  log(x, ...)
}


myLog(2)

ex <- NULL
trycatch({
  myLog("a")
}, ANY={
  ex <- Exception$getLastException()
})

bug.report to report non-package specific bugs in R.
  For more information see InternalErrorException.

programming
methods
error

Arguments