public class DuplicateMappingException extends MappingException
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DuplicateMappingException.Type
Enumeration of the types of things that can be duplicated.
|
| 构造器和说明 |
|---|
DuplicateMappingException(DuplicateMappingException.Type type,
String name)
Creates a DuplicateMappingException using the given type and name.
|
DuplicateMappingException(String customMessage,
DuplicateMappingException.Type type,
String name)
Creates a DuplicateMappingException using the given customMessage, type and name.
|
DuplicateMappingException(String type,
String name)
已过时。
Use the for taking
DuplicateMappingException.Type instead. |
DuplicateMappingException(String customMessage,
String type,
String name)
已过时。
Use the for taking
DuplicateMappingException.Type instead. |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
String |
getType() |
public DuplicateMappingException(DuplicateMappingException.Type type, String name)
type - The type of the duplicated thing.name - The name of the duplicated thing.@Deprecated public DuplicateMappingException(String type, String name)
DuplicateMappingException.Type instead.type - The type of the duplicated thing.name - The name of the duplicated thing.public DuplicateMappingException(String customMessage, DuplicateMappingException.Type type, String name)
customMessage - A custom exception message explaining the exception conditiontype - The type of the duplicated thing.name - The name of the duplicated thing.@Deprecated public DuplicateMappingException(String customMessage, String type, String name)
DuplicateMappingException.Type instead.customMessage - A custom exception message explaining the exception conditiontype - The type of the duplicated thing.name - The name of the duplicated thing.Copyright © 2019. All rights reserved.