Oracle Error PLS-00663: the NEW keyword is not allowed in this context

Oracle Error Message

PLS-00663: the NEW keyword is not allowed in this context

Reason for the Error

The NEW keyword is not followed by an call to a constructor method.

Solution

Remove the NEW keyword, or make sure the expression following it is a constructor call.