org.objectweb.proactive.core.mop
Class MOPRuntimeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.objectweb.proactive.core.mop.MOPRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CannotFindClassException, ConstructionOfStubObjectFailedException, GenerationOfStubClassFailedException, InitializationOfStubClassFailedException, InternalException

public abstract class MOPRuntimeException
extends java.lang.RuntimeException

See Also:
Serialized Form

Field Summary
protected  java.lang.Throwable detail
           
 
Constructor Summary
MOPRuntimeException()
          Constructs a ProActiveRuntimeException with no specified detail message.
MOPRuntimeException(java.lang.String s)
          Constructs a ProActiveRuntimeException with the specified detail message.
MOPRuntimeException(java.lang.String s, java.lang.Throwable ex)
          Constructs a ProActiveRuntimeException with the specified detail message and nested exception.
MOPRuntimeException(java.lang.Throwable ex)
          Constructs a ProActiveException 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

MOPRuntimeException

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


MOPRuntimeException

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

Parameters:
s - the detail message

MOPRuntimeException

public MOPRuntimeException(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

MOPRuntimeException

public MOPRuntimeException(java.lang.Throwable ex)
Constructs a ProActiveException 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.