public class InvalidMappingException extends MappingException
Constructor and Description |
---|
InvalidMappingException(java.lang.String customMessage,
Origin origin)
Constructs an InvalidMappingException using the given information.
|
InvalidMappingException(java.lang.String customMessage,
java.lang.String type,
java.lang.String path)
Constructs an InvalidMappingException using the given information.
|
InvalidMappingException(java.lang.String customMessage,
java.lang.String type,
java.lang.String path,
java.lang.Throwable cause)
Constructs an InvalidMappingException using the given information.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath() |
java.lang.String |
getType() |
public InvalidMappingException(java.lang.String customMessage, java.lang.String type, java.lang.String path, java.lang.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(java.lang.String customMessage, java.lang.String type, java.lang.String path)
customMessage
- The custom message explaining the exception conditiontype
- The type of invalid mapping documentpath
- The path (type specific) of the invalid mapping documentpublic InvalidMappingException(java.lang.String customMessage, Origin origin)
customMessage
- The custom message explaining the exception conditionorigin
- The origin of the invalid mapping documentCopyright © 2001-2019 Red Hat, Inc. All Rights Reserved.