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,
String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(MappingException e) |
int |
getCount()
Returns the number of errors that have been added to this Exception Class.
|
Collection<MappingException> |
getMappingExceptions()
Returns a list of the MappingExceptions 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, toStringpublic VerifierMappingExceptions(CassandraPersistentEntity<?> entity, String s)
s - public void add(MappingException e)
s - public Collection<MappingException> getMappingExceptions()
public Collection<String> getMessages()
public int getCount()
public String getMessage()
getMessage in class ThrowableCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.