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
IdInterfaceExceptions 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, toStringpublic 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()
IdInterfaceExceptions aggregated within.public Collection<String> getMessages()
IdInterfaceException messages aggregated within.public int getCount()
public String getMessage()
getMessage in class Throwablepublic String getIdInterfaceName()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.