javax.management
Class RuntimeOperationsException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--javax.management.JMRuntimeException
|
+--javax.management.RuntimeOperationsException
- All Implemented Interfaces:
- java.io.Serializable
- public class RuntimeOperationsException
- extends JMRuntimeException
This class represents runtime exceptions thrown in the agent when
performing operations on MBeans. It wraps the actual
java.lang.RuntimeException
thrown.
- See Also:
- Serialized Form
Constructor Summary |
RuntimeOperationsException(java.lang.RuntimeException e)
Creates a RuntimeOperationsException that wraps the
actual java.lang.RuntimeException . |
RuntimeOperationsException(java.lang.RuntimeException e,
java.lang.String message)
Creates a RuntimeOperationsException that wraps the
actual java.lang.RuntimeException with a detailed message. |
Method Summary |
java.lang.RuntimeException |
getTargetException()
Returns the actual java.lang.RuntimeException thrown |
void |
printStackTrace()
Overrides the method |
java.lang.String |
toString()
Overrides the method |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RuntimeOperationsException
public RuntimeOperationsException(java.lang.RuntimeException e)
- Creates a
RuntimeOperationsException
that wraps the
actual java.lang.RuntimeException
.
- Parameters:
e
- RuntimeException to be wraped by RuntimeOperationsException
RuntimeOperationsException
public RuntimeOperationsException(java.lang.RuntimeException e,
java.lang.String message)
- Creates a
RuntimeOperationsException
that wraps the
actual java.lang.RuntimeException
with a detailed message.
- Parameters:
e
- RuntimeException to be wraped by RuntimeOperationsException.message
- the detail message.
getTargetException
public java.lang.RuntimeException getTargetException()
- Returns the actual java.lang.RuntimeException thrown
- Returns:
- This returns RuntimeException thrown in this method
printStackTrace
public void printStackTrace()
- Overrides the method
- Overrides:
printStackTrace
in class java.lang.Throwable
toString
public java.lang.String toString()
- Overrides the method
- Overrides:
toString
in class java.lang.Throwable
Copyright ©2003 XMOJO.org. All Rights Reserved.