object o2 = null;
try
{
    int i2 = (int)o2;   // Error
}