Cause: The input supplied to DBMS_DDL.WRAP or DBMS_DDL.CREATE_WRAPPED did not specify a legal PL/SQL package specification, package body, type specification, type body, function or procedure. This error can occur if you used incorrect syntax in the CREATE OR REPLACE statement or specified a unit that cannot be wrapped (e.g., a trigger or anonymous block). See the solution below.
Error solution: Provide a legal PL/SQL unit as input.
Database version: Oracle 11g Release 2 (11.2)