public class InvalidMappingException extends MappingException
| Constructor and Description |
|---|
InvalidMappingException(String customMessage,
Origin origin)
Constructs an InvalidMappingException using the given information.
|
InvalidMappingException(String customMessage,
String type,
String path)
Constructs an InvalidMappingException using the given information.
|
InvalidMappingException(String customMessage,
String type,
String path,
Throwable cause)
Constructs an InvalidMappingException using the given information.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPath() |
String |
getType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidMappingException(String customMessage, String type, String path, Throwable cause)
customMessage - The custom message explaining the exception conditiontype - The type of invalid mapping documentpath - The path (type specific) of the invalid mapping documentcause - The underlying causepublic InvalidMappingException(String customMessage, String type, String path)
customMessage - The custom message explaining the exception conditiontype - The type of invalid mapping documentpath - The path (type specific) of the invalid mapping documentCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.