com.poscoict.glueframework
Class GlueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.poscoict.glueframework.GlueException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GlueCacheException, GlueDaoException, GlueInvalidLicenseException, GlueMessageCreatorException, GlueMessageDefinitionException, GlueMessageParserException, GlueMessageSenderException, GlueSchedulerException

public class GlueException
extends RuntimeException

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:
Serialized Form

Constructor Summary
GlueException(String msg)
          생성자(constructor).
GlueException(String msg, Throwable ex)
          생성자(constructor).
 
Method Summary
 Throwable getRootCause()
          원인 Exception 획득
 void printStackTrace()
          Exception Stack Trace를 출력
 void printStackTrace(PrintStream ps)
          Exception Stack Trace를 출력
 void printStackTrace(PrintWriter pw)
          Exception Stack Trace를 출력
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlueException

public GlueException(String msg)
생성자(constructor).

Parameters:
msg - 에러 메시지

GlueException

public GlueException(String msg,
                     Throwable ex)
생성자(constructor).

Parameters:
msg - 에러 메시지
ex - 원인(Root, Cause) Exception
Method Detail

getRootCause

public Throwable getRootCause()
원인 Exception 획득

Returns:
the cause of this throwable or null if the cause is nonexistent or unknown.

printStackTrace

public void printStackTrace(PrintStream ps)
Exception Stack Trace를 출력

Overrides:
printStackTrace in class Throwable
Parameters:
ps - PrintStream to use for output

printStackTrace

public void printStackTrace(PrintWriter pw)
Exception Stack Trace를 출력

Overrides:
printStackTrace in class Throwable
Parameters:
pw - PrintWriter to use for output

printStackTrace

public void printStackTrace()
Exception Stack Trace를 출력

Overrides:
printStackTrace in class Throwable


Copyright © 2013–2018 POSCO ICT. All rights reserved.