Try:

DECLARE
ora2292 EXCEPTION;
PRAGMA EXCEPTION_INIT(ora2292, -2292);
BEGIN
RAISE ora2292;
END;
/