Static class exception