public class ClusterCommandExecutionFailureException extends UncategorizedDataAccessException
Constructor and Description |
---|
ClusterCommandExecutionFailureException(List<? extends Throwable> causes)
Creates new
ClusterCommandExecutionFailureException . |
ClusterCommandExecutionFailureException(Throwable cause)
Creates new
ClusterCommandExecutionFailureException . |
Modifier and Type | Method and Description |
---|---|
Collection<? extends Throwable> |
getCauses()
Deprecated.
since 2.0, use
Throwable.getSuppressed() . |
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClusterCommandExecutionFailureException(Throwable cause)
ClusterCommandExecutionFailureException
.cause
- must not be null.public ClusterCommandExecutionFailureException(List<? extends Throwable> causes)
ClusterCommandExecutionFailureException
.causes
- must not be empty.public Collection<? extends Throwable> getCauses()
Throwable.getSuppressed()
.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.