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 |
Tags
- mysql
- YOLO
- Numpy
- VS Code
- ubuntu
- C#
- SSH
- 프로그래머스
- C++
- C
- 채보
- 오류
- label
- paramiko
- error
- windows forms
- JSON
- Python
- pytorch
- OpenCV
- 기타 연주
- nvidia-smi
- pip
- Visual Studio
- Linux
- Docker
- Selenium
- 핑거스타일
- pandas
- 컨테이너
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