The exception thrown as a result of trying to access a type in an illegal way. The visibility check is the most common reason for this exception.
Parent Class
| Type | Name | Signature |
|---|---|---|
| constructor | IllegalTypeAccessException | public IllegalTypeAccessException(string) |
public IllegalTypeAccessException(string msg)Create an instance of IllegalTypeAccessException with specified message. Mainly reserved for system use.
Parameters