DECLARE
 v_text  varchar2(100)
 BEGIN
  v_text := 'Hallo dikken'
  DBMS_OUTPUT.PUT_LINE(v_text)
 EXCEPTION
  WHEN others THEN
   DBMS_OUTPUT.PUT_LINE('We encountered an exception')
  RAISE
 END
 /
/
