Oracle Error OCI-22307: type to alter is not a user-defined type

Oracle Error Message

OCI-22307: type to alter is not a user-defined type

Reason for the Error

The user is trying to alter a built-in type.

Solution

Check to make sure that only user-defined types are being altered.