public class GlueException extends RuntimeException
GlueException
class is the superclass of all errors and exceptions in the Glue
Framework). java.lang.RuntimeException
을 확장하였기 때문에 Unchecked Exception으로 분류된다. 따라서 Exception 처리가 꼭 필요한 경우를 제외하고는 개발자가 주의를
기울이지 않아도 상관없다. 즉, throws GlueException 을 하지 않아도 된다.Constructor and Description |
---|
GlueException(String msg)
생성자(constructor).
|
GlueException(String msg,
Throwable ex)
생성자(constructor).
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getRootCause()
원인 Exception 획득
|
void |
printStackTrace()
Exception Stack Trace를 출력
|
void |
printStackTrace(PrintStream ps)
Exception Stack Trace를 출력
|
void |
printStackTrace(PrintWriter pw)
Exception Stack Trace를 출력
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public GlueException(String msg)
msg
- 에러 메시지public Throwable getRootCause()
public void printStackTrace(PrintStream ps)
printStackTrace
in class Throwable
ps
- PrintStream to use for outputpublic void printStackTrace(PrintWriter pw)
printStackTrace
in class Throwable
pw
- PrintWriter to use for outputpublic void printStackTrace()
printStackTrace
in class Throwable
Copyright © 2023–2024 POSCO DX. All rights reserved.