javax.management.remote
Class JMXServerErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.management.remote.JMXServerErrorException
- All Implemented Interfaces:
- Serializable
public class JMXServerErrorException
- extends IOException
Exception thrown as the result of a remote MBeanServer
method invocation when an Error
is thrown while
processing the invocation in the remote MBean server. A
JMXServerErrorException
instance contains the original
Error
that occurred as its cause.
- Since:
- 1.5
- See Also:
ServerError
,
Serialized Form
Method Summary |
Throwable |
getCause()
getCause returns the cause of this exception or null if no cause
was set. |
JMXServerErrorException
public JMXServerErrorException(String s,
Error err)
- Constructs a
JMXServerErrorException
with the specified
detail message and nested error.
- Parameters:
s
- the detail message.err
- the nested error. An instance of this class can be
constructed where this parameter is null, but the standard
connectors will never do so.
getCause
public Throwable getCause()
- Description copied from class:
Throwable
- getCause returns the cause of this exception or null if no cause
was set. The cause is another exception that was caught before
this exception was created.
- Overrides:
getCause
in class Throwable
- Returns:
- The cause or null.
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.