public class RuntimeOperationsException extends JMRuntimeException
java.lang.RuntimeException
thrown.Constructor and Description |
---|
RuntimeOperationsException(RuntimeException e)
Creates a
RuntimeOperationsException that wraps the actual java.lang.RuntimeException . |
RuntimeOperationsException(RuntimeException e,
String message)
Creates a
RuntimeOperationsException that wraps the actual java.lang.RuntimeException
with a detailed message. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the actual
RuntimeException thrown. |
RuntimeException |
getTargetException()
Returns the actual
RuntimeException thrown. |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RuntimeOperationsException(RuntimeException e)
RuntimeOperationsException
that wraps the actual java.lang.RuntimeException
.e
- the wrapped exception.public RuntimeOperationsException(RuntimeException e, String message)
RuntimeOperationsException
that wraps the actual java.lang.RuntimeException
with a detailed message.e
- the wrapped exception.message
- the detail message.public RuntimeException getTargetException()
RuntimeException
thrown.RuntimeException
.public Throwable getCause()
RuntimeException
thrown.getCause
in class Throwable
RuntimeException
. Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.