org.objectweb.proactive.core
Class ProActiveRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.objectweb.proactive.core.ProActiveRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class ProActiveRuntimeException
extends java.lang.RuntimeException

Generic exception root of all runtime custom exceptions in ProActive

Since:
ProActive 0.9
Version:
1.0, 2001/10/23
Author:
ProActive Team
See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable detail
           
 
Constructor Summary
ProActiveRuntimeException()
          Constructs a ProActiveRuntimeException with no specified detail message.
ProActiveRuntimeException(java.lang.String s)
          Constructs a ProActiveRuntimeException with the specified detail message.
ProActiveRuntimeException(java.lang.String s, java.lang.Throwable ex)
          Constructs a ProActiveRuntimeException with the specified detail message and nested exception.
ProActiveRuntimeException(java.lang.Throwable ex)
          Constructs a ProActiveRuntimeException with the specified detail message and nested exception.
 
Method Summary
 java.lang.String getMessage()
          Returns the detail message, including the message from the nested exception if there is one.
 java.lang.Throwable getTargetException()
           
 void printStackTrace()
          Prints the composite message to System.err.
 void printStackTrace(java.io.PrintStream ps)
          Prints the composite message and the embedded stack trace to the specified stream ps.
 void printStackTrace(java.io.PrintWriter pw)
          Prints the composite message and the embedded stack trace to the specified print writer pw.
 
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
 

Field Detail

detail

protected java.lang.Throwable detail
Constructor Detail

ProActiveRuntimeException

public ProActiveRuntimeException()
Constructs a ProActiveRuntimeException with no specified detail message.


ProActiveRuntimeException

public ProActiveRuntimeException(java.lang.String s)
Constructs a ProActiveRuntimeException with the specified detail message.

Parameters:
s - the detail message

ProActiveRuntimeException

public ProActiveRuntimeException(java.lang.String s,
                                 java.lang.Throwable ex)
Constructs a ProActiveRuntimeException with the specified detail message and nested exception.

Parameters:
s - the detail message
ex - the nested exception

ProActiveRuntimeException

public ProActiveRuntimeException(java.lang.Throwable ex)
Constructs a ProActiveRuntimeException with the specified detail message and nested exception.

Parameters:
ex - the nested exception
Method Detail

getMessage

public java.lang.String getMessage()
Returns the detail message, including the message from the nested exception if there is one.

Overrides:
getMessage in class java.lang.Throwable

getTargetException

public java.lang.Throwable getTargetException()

printStackTrace

public void printStackTrace(java.io.PrintStream ps)
Prints the composite message and the embedded stack trace to the specified stream ps.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
ps - the print stream

printStackTrace

public void printStackTrace()
Prints the composite message to System.err.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter pw)
Prints the composite message and the embedded stack trace to the specified print writer pw.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
pw - the print writer


Copyright © April 2004 INRIA All Rights Reserved.