org.castor.cpa.test.framework
Class CPAConfigException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.castor.cpa.test.framework.CPAConfigException
All Implemented Interfaces:
java.io.Serializable

public final class CPAConfigException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
CPAConfigException()
          Constructs a new CPATestException without a message.
CPAConfigException(java.lang.String message)
          Constructs a new CPATestException with the specified detail message.
CPAConfigException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new CPATestException with the specified detail message and cause.
CPAConfigException(java.lang.Throwable cause)
          Constructs a new CPATestException with the specified cause and the detail message of the cause.
 
Method Summary
 java.lang.Throwable getCause()
          The method emulates the JDK 1.4 Throwable version of getCause() for JDKs before 1.4.
 java.lang.Throwable initCause(java.lang.Throwable cause)
          The method emulates the JDK 1.4 Throwable version of initCause() for JDKs before 1.4.
 void printStackTrace()
          
 void printStackTrace(java.io.PrintStream s)
          
 void printStackTrace(java.io.PrintWriter w)
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CPAConfigException

public CPAConfigException()
Constructs a new CPATestException without a message. The cause is not initialized but may subsequently be initialized by a call to initCause(Throwable).


CPAConfigException

public CPAConfigException(java.lang.String message)
Constructs a new CPATestException with the specified detail message. The cause is not initialized but may subsequently be initialized by a call to initCause(Throwable).

Parameters:
message - The detail message.

CPAConfigException

public CPAConfigException(java.lang.Throwable cause)
Constructs a new CPATestException with the specified cause and the detail message of the cause. This constructor is useful for exceptions that are wrappers for others.

Parameters:
cause - The cause.

CPAConfigException

public CPAConfigException(java.lang.String message,
                          java.lang.Throwable cause)
Constructs a new CPATestException with the specified detail message and cause.

Parameters:
message - The detail message.
cause - The cause.
Method Detail

initCause

public java.lang.Throwable initCause(java.lang.Throwable cause)
The method emulates the JDK 1.4 Throwable version of initCause() for JDKs before 1.4.

Overrides:
initCause in class java.lang.Throwable

getCause

public java.lang.Throwable getCause()
The method emulates the JDK 1.4 Throwable version of getCause() for JDKs before 1.4.

Overrides:
getCause in class java.lang.Throwable

printStackTrace

public void printStackTrace()

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter w)

Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2011. All Rights Reserved.