Fixed NPE in RawException (fixes #15)