Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- Numpy
- windows forms
- OpenCV
- Linux
- Visual Studio
- VS Code
- ubuntu
- JSON
- 컨테이너
- error
- C++
- 기타 연주
- SSH
- pytorch
- C#
- paramiko
- Selenium
- 오류
- 프로그래머스
- mysql
- pandas
- label
- Python
- nvidia-smi
- C
- 핑거스타일
- pip
- Docker
- YOLO
- 채보
Archives
- Today
- Total
목록Try (1)
기계는 거짓말하지 않는다
C# try, catch, finally Exception 처리
프로그램 실행 중 발생하는 오류를 처리한다. 다음은 예제 코드이다. private void ThreadStart() { try { argsThread = new Thread(new ParameterizedThreadStart(TempFunction)); argsThread.Start(tempArgs); Thread.Sleep(interval); } } catch (ThreadInterruptedException) { MessageBox.Show("thread interrupted", "확인"); } catch (Exception e1) { MessageBox.Show(e1.Message + "\r\nLocation: ThreadStart", "오류", MessageBoxButtons.OK, Message..
C#
2022. 5. 6. 17:51