public class VerifierMappingExceptions extends MappingException
MappingException
for convenience when verifying persistent entities. This allows the
framework to communicate all verification errors to the user of the framework, rather than one at a time.Constructor and Description |
---|
VerifierMappingExceptions(CassandraPersistentEntity<?> entity,
Collection<MappingException> exceptions)
Create a new
VerifierMappingExceptions for the given entity and message. |
VerifierMappingExceptions(CassandraPersistentEntity<?> entity,
String message)
Create a new
VerifierMappingExceptions for the given entity and message. |
Modifier and Type | Method and Description |
---|---|
Collection<MappingException> |
getMappingExceptions()
Returns a list of the
MappingException s aggregated within. |
String |
getMessage() |
Collection<String> |
getMessages()
Returns a list of the
MappingException messages aggregated within. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public VerifierMappingExceptions(CassandraPersistentEntity<?> entity, Collection<MappingException> exceptions)
VerifierMappingExceptions
for the given entity
and message.entity
- must not be null.exceptions
- must not be null.public VerifierMappingExceptions(CassandraPersistentEntity<?> entity, String message)
VerifierMappingExceptions
for the given entity
and message.entity
- must not be null.message
- public Collection<MappingException> getMappingExceptions()
MappingException
s aggregated within.MappingException
.public Collection<String> getMessages()
MappingException
messages aggregated within.public String getMessage()
getMessage
in class Throwable
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.