Oracle server will raise an error, if it can not access a object via a database link due to the other database being down or user/password is incorrect. You can capture that error using SQLCODE AND SQLERRM in the exception block OR you can interpret that error and define your own message using RAISE_APPLICATION_ERROR.




Reply With Quote