|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--org.arch4j.core.BaseRuntimeException | +--org.arch4j.core.EnvironmentalException
This exception class is intended to be used for issues related to the runtime
environment. For example, this includes invalid application server properties,
missing properties, missing entities such as EJBs and JMS QueueConnectionFactories.
As an RuntimeException
, it is intended to be thrown when
the calling code has no ability to resolve or react to the situation.
The solution will typically be made by modifying a property file or source
code.
It is a RuntimeException
and therefore does not
need to be declared or caught by business code.
Field Summary |
Fields inherited from class org.arch4j.core.BaseRuntimeException |
nestedException |
Constructor Summary | |
EnvironmentalException()
Constructs a EnvironmentalException with no specified
detail message or nested exception. |
|
EnvironmentalException(String message)
Constructs a EnvironmentalException with the specified
detail message. |
|
EnvironmentalException(String message,
Throwable exception)
Constructs a EnvironmentalException with the specified
detail message and nested exception. |
|
EnvironmentalException(Throwable exception)
Constructs a EnvironmentalException with the specified
nested exception. |
Methods inherited from class org.arch4j.core.BaseRuntimeException |
getMessage, getNestedException, getStackTraceString, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EnvironmentalException()
EnvironmentalException
with no specified
detail message or nested exception.
public EnvironmentalException(String message)
EnvironmentalException
with the specified
detail message.
message
- The detailed message.public EnvironmentalException(Throwable exception)
EnvironmentalException
with the specified
nested exception.
exception
- The nested exception.public EnvironmentalException(String message, Throwable exception)
EnvironmentalException
with the specified
detail message and nested exception.
message
- The detailed message.exception
- The nested exception.
|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |