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
- profile
- maVen
- xargs
- Mac
- lsof
- GIT
- Quartz
- Eclipse
- JavaScript
- find
- resource
- netsh
- context
- plugin
- vscode
- VirtualBox
- 네트워크
- import
- Source
- Windows 10
- Windows
- port
- grep
- 단축키
- 줄바꿈 문자
- web.xml
- bash
- ssh
- IntelliJ
- tomcat
Archives
- Today
- Total
develog
UserException 본문
public class UserException extends RuntimeException {
public UserException(String msg) {
super(msg + ", at " + getInfoSrcLn());
}
private static String getInfoSrcLn() {
StackTraceElement[] stackTraces = Thread.currentThread().getStackTrace();
StackTraceElement stackTraceElement = stackTraces[3];
return String.valueOf(stackTraceElement);
}
}
'Dev > Java' 카테고리의 다른 글
System Properties (0) | 2013.06.12 |
---|---|
java mail (0) | 2013.06.12 |
excel open protected password in jacob (0) | 2013.06.08 |
getAbsolutePath, getCanonicalPath (0) | 2013.06.08 |
Jacob (0) | 2013.06.08 |
Comments