isProtected.Class.Rd
Checks if a class is defined protected or not.
# S3 method for class 'Class'
isProtected(this, ...)
class
().
setConstructorS3
().
For more information see Class
.
if (isProtected(RccViolationException))
throw("The class RccViolationException should NOT be protected.")