org.arch4j.core
Interface BaseException
- All Known Implementing Classes:
- BaseApplicationException, BaseRuntimeException
- public interface BaseException
This interface mainly defines the semantics of being a
Arch4J exception. This includes the concept that a BaseException
can contain a nested, wrapped exception.
This allows classes to catch a BaseException, instead of an BaseException
and be able to use the defined methods, such as getting the stack
backtrace as a String.
- Version:
- 1.0
- Author:
- Ross E. Greinke
getNestedException
public Throwable getNestedException()
- Returns:
- A nested, wrapped exception.
getStackTraceString
public String getStackTraceString()
- Returns:
- The stack backtrace as a
String
.
Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.