IllegalTypeAccessException CLASS

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

All Members


TypeNameSignature
constructorIllegalTypeAccessExceptionpublic IllegalTypeAccessException(string)

Constructors


public IllegalTypeAccessException(string msg)

Create an instance of IllegalTypeAccessException with specified message. Mainly reserved for system use.

Parameters

  • msg The message for this exception.