com.xenonsoft.bridgetown.soa
Class InfrastructureException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.xenonsoft.bridgetown.soa.InfrastructureException
All Implemented Interfaces:
java.io.Serializable

public class InfrastructureException
extends java.lang.RuntimeException

Chainable infrastructure general user exception. This is an unchecked exception, which can accept an root cause element, and is compatible with JDK1.3

(Regrettably, there are stilll plenty of WebLogic Server 7 and IBM Websphere 3 servers still in production still in 2005!)

Version:
$Id$
Author:
Peter Pilgrim, 14-Mar-2005 14:26:00
See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable rootCause
          The optionally root cause of this exception
 
Constructor Summary
InfrastructureException()
          Default constructor
InfrastructureException(java.lang.String message)
          Standard constructor
InfrastructureException(java.lang.String message, java.lang.Throwable cause)
          Standard constructor
InfrastructureException(java.lang.Throwable cause)
          Standard constructor
 
Method Summary
 java.lang.Throwable getRootCause()
          Gets the rootCause
 void printStackTrace()
          Prints this exception stack trace with optionally root cause to the STANDARD OUTPUT stream Implements / overrides printStackTrace
 void printStackTrace(java.io.PrintStream pstream)
          Prints this exception stack trace with optionally root cause to the supplied print stream object.
 void printStackTrace(java.io.PrintWriter pwriter)
          Prints this exception stack trace with optionally root cause to the supplied print stream object.
 void setRootCause(java.lang.Throwable rootCause)
          Sets the rootCause
 java.lang.String toString()
          Retrieve hu7man debuggable string.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rootCause

protected java.lang.Throwable rootCause
The optionally root cause of this exception

Constructor Detail

InfrastructureException

public InfrastructureException()
Default constructor


InfrastructureException

public InfrastructureException(java.lang.String message)
Standard constructor

Parameters:
message -

InfrastructureException

public InfrastructureException(java.lang.Throwable cause)
Standard constructor

Parameters:
cause -

InfrastructureException

public InfrastructureException(java.lang.String message,
                               java.lang.Throwable cause)
Standard constructor

Parameters:
message -
cause -
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Gets the rootCause

Returns:
Returns the rootCause.

setRootCause

public void setRootCause(java.lang.Throwable rootCause)
Sets the rootCause

Parameters:
rootCause - the new value for rootCause

toString

public java.lang.String toString()
Retrieve hu7man debuggable string. Implements / overrides toString

Returns:
See Also:
Object.toString()

printStackTrace

public void printStackTrace()
Prints this exception stack trace with optionally root cause to the STANDARD OUTPUT stream Implements / overrides printStackTrace

See Also:
Throwable.printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintStream pstream)
Prints this exception stack trace with optionally root cause to the supplied print stream object. Implements / overrides printStackTrace

Parameters:
pstream - the print output stream output
See Also:
Throwable.printStackTrace(java.io.PrintStream)

printStackTrace

public void printStackTrace(java.io.PrintWriter pwriter)
Prints this exception stack trace with optionally root cause to the supplied print stream object. Implements / overrides printStackTrace

Parameters:
pwriter - the print output writer
See Also:
Throwable.printStackTrace(java.io.PrintWriter)


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.