org.objectweb.proactive.core.mop
Class MOPException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.objectweb.proactive.core.mop.MOPException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BehavioralException, StructuralException

public class MOPException
extends java.lang.Exception

See Also:
Serialized Form

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

public java.lang.Throwable detail
Constructor Detail

MOPException

public MOPException()
Constructs a ProActiveException with no specified detail message.


MOPException

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

Parameters:
s - the detail message

MOPException

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

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

MOPException

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

Parameters:
ex - the nested exception
Method Detail

getTargetException

public java.lang.Throwable getTargetException()

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

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.