public class IdInterfaceExceptions extends MappingException
Constructor and Description |
---|
IdInterfaceExceptions(Class<?> idInterfaceClass,
Collection<MappingException> exceptions)
Create a new
IdInterfaceExceptions for the given idInterfaceClass and exceptions. |
Modifier and Type | Method and Description |
---|---|
void |
add(IdInterfaceException e) |
int |
getCount()
Returns the number of exceptions aggregated in this exception.
|
Collection<MappingException> |
getExceptions()
Returns a list of the
IdInterfaceException s aggregated within. |
String |
getIdInterfaceName() |
String |
getMessage() |
Collection<String> |
getMessages()
Returns a list of the
IdInterfaceException messages aggregated within. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IdInterfaceExceptions(Class<?> idInterfaceClass, Collection<MappingException> exceptions)
IdInterfaceExceptions
for the given idInterfaceClass
and exceptions.idInterfaceClass
- must not be null.exceptions
- must not be null.public void add(IdInterfaceException e)
public Collection<MappingException> getExceptions()
IdInterfaceException
s aggregated within.public Collection<String> getMessages()
IdInterfaceException
messages aggregated within.public int getCount()
public String getMessage()
getMessage
in class Throwable
public String getIdInterfaceName()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.