Message Oracle PLS-00706 - Exception string cannot be used as prefix of a selected component

ERRORException string cannot be used as prefix of a selected component
CAUSEAn exception name was mistakenly used to qualify a reference to a component. For example, when dot notation was used to specify fields within a record, an exception name might have been coded instead of the record name.
ACTIONRewrite the component reference using a valid prefix (for example, the name of a package, record, or schema).