added new exception: NullPointer
added macro DEPRECATED