public class MappingException extends RuntimeException
| Constructor and Description |
|---|
MappingException(List<ErrorMessage> messages) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ErrorMessage> |
getErrorMessages()
Returns messages for the errors that caused this exception.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MappingException(List<ErrorMessage> messages)
public String getMessage()
getMessage in class Throwablepublic Collection<ErrorMessage> getErrorMessages()
Copyright © 2011–2018. All rights reserved.