Package com.poscoict.glueframework
Class GlueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.poscoict.glueframework.GlueException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GlueCacheException,GlueDaoException,GlueInvalidLicenseException,GlueMessageCreatorException,GlueMessageDefinitionException,GlueMessageParserException,GlueMessageSenderException,GlueSchedulerException
Glue Framework에서 사용하는 최상위 Exception 클래스(The
GlueException class is the superclass of all errors and exceptions in the Glue
Framework). java.lang.RuntimeException을 확장하였기 때문에 Unchecked Exception으로 분류된다. 따라서 Exception 처리가 꼭 필요한 경우를 제외하고는 개발자가 주의를
기울이지 않아도 상관없다. 즉, throws GlueException 을 하지 않아도 된다.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGlueException(String msg) 생성자(constructor).GlueException(String msg, Throwable ex) 생성자(constructor). -
Method Summary
Modifier and TypeMethodDescription원인 Exception 획득voidException Stack Trace를 출력voidException Stack Trace를 출력voidException Stack Trace를 출력Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
GlueException
생성자(constructor).- Parameters:
msg- 에러 메시지
-
GlueException
생성자(constructor).- Parameters:
msg- 에러 메시지ex- 원인(Root, Cause) Exception
-
-
Method Details
-
getRootCause
원인 Exception 획득- Returns:
- the cause of this throwable or null if the cause is nonexistent or unknown.
-
printStackTrace
Exception Stack Trace를 출력- Overrides:
printStackTracein classThrowable- Parameters:
ps- PrintStream to use for output
-
printStackTrace
Exception Stack Trace를 출력- Overrides:
printStackTracein classThrowable- Parameters:
pw- PrintWriter to use for output
-
printStackTrace
public void printStackTrace()Exception Stack Trace를 출력- Overrides:
printStackTracein classThrowable
-