Arch4J 1.1

org.arch4j.core
Class EnvironmentalException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.arch4j.core.BaseRuntimeException
                          |
                          +--org.arch4j.core.EnvironmentalException
All Implemented Interfaces:
BaseException, Serializable

public class EnvironmentalException
extends BaseRuntimeException

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.

Version:
1.0
Author:
David Colwell
See Also:
Serialized Form

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

EnvironmentalException

public EnvironmentalException()
Constructs a EnvironmentalException with no specified detail message or nested exception.


EnvironmentalException

public EnvironmentalException(String message)
Constructs a EnvironmentalException with the specified detail message.

Parameters:
message - The detailed message.

EnvironmentalException

public EnvironmentalException(Throwable exception)
Constructs a EnvironmentalException with the specified nested exception.

Parameters:
exception - The nested exception.

EnvironmentalException

public EnvironmentalException(String message,
                              Throwable exception)
Constructs a EnvironmentalException with the specified detail message and nested exception.

Parameters:
message - The detailed message.
exception - The nested exception.

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.