Handle page protection errors using D errors (exceptions). NullPointerError is thrown when dereferencing null pointers. A system-dependent error is thrown in other cases.