Exception2 C# Task await 예제. private async void button2_Click(object sender, EventArgs e) { try { await Async_Task_Await_Test(); } catch (Exception ex) { //throw ex; MessageBox.Show(ex.Message); } } private Task Async_Task_Await_Test() { Action action = () => { for (int i = 0; i 2022. 12. 21. 오라클 RAISE Exception 강제로 Exception이 필요한 경우에 사용. RAISE_APPLICATION_ERROR(-20001, '에러 났어요!'); 예) if cnt > 0 then RAISE_APPLICATION_ERROR(-20001, '에러 났어요!'); end if; 2021. 9. 29. 이전 1 다음 반응형