Oracle Error Message
ORA-13065: cannot delete a child layer with a parent layer
Reason for the Error
A call was made to delete a feature layer which has a dependent layer defined on it.
Solution
Make sure that all dependent feature layers are deleted before deleting the current feature layer.