public class DataAlreadyRegisteredException extends DataException
Constructor and Description |
---|
DataAlreadyRegisteredException(Class<? extends DataManipulator<?,?>> manipulatorClass,
Class<? extends ImmutableDataManipulator<?,?>> immutableManipulatorClass,
DataManipulatorBuilder<?,?> builder)
Constructs a new data already registered exception.
|
DataAlreadyRegisteredException(String message,
Class<? extends DataManipulator<?,?>> manipulatorClass,
Class<? extends ImmutableDataManipulator<?,?>> immutableManipulatorClass,
DataManipulatorBuilder<?,?> builder)
Constructs a new data already registered exception with a message.
|
DataAlreadyRegisteredException(String message,
Throwable cause,
Class<? extends DataManipulator<?,?>> manipulatorClass,
Class<? extends ImmutableDataManipulator<?,?>> immutableManipulatorClass,
DataManipulatorBuilder<?,?> builder)
Constructs a new data already registered exception with a message and
a throwable cause.
|
DataAlreadyRegisteredException(Throwable cause,
Class<? extends DataManipulator<?,?>> manipulatorClass,
Class<? extends ImmutableDataManipulator<?,?>> immutableManipulatorClass,
DataManipulatorBuilder<?,?> builder)
Constructs a new data already registered exception with
a throwable cause.
|
Modifier and Type | Method and Description |
---|---|
DataManipulatorBuilder<?,?> |
getBuilder()
Gets the related data manipulator builder.
|
Class<? extends ImmutableDataManipulator<?,?>> |
getImmutableManipulatorClass()
Gets the related immutable data manipulator class.
|
Class<? extends DataManipulator<?,?>> |
getManipulatorClass()
Gets the related data manipulator class.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DataAlreadyRegisteredException(@Nullable Class<? extends DataManipulator<?,?>> manipulatorClass, @Nullable Class<? extends ImmutableDataManipulator<?,?>> immutableManipulatorClass, @Nullable DataManipulatorBuilder<?,?> builder)
manipulatorClass
- The manipulator classimmutableManipulatorClass
- The immutable manipulator classbuilder
- The data manipulator builderpublic DataAlreadyRegisteredException(String message, @Nullable Class<? extends DataManipulator<?,?>> manipulatorClass, @Nullable Class<? extends ImmutableDataManipulator<?,?>> immutableManipulatorClass, @Nullable DataManipulatorBuilder<?,?> builder)
message
- The message to send with the exceptionmanipulatorClass
- The manipulator classimmutableManipulatorClass
- The immutable manipulator classbuilder
- The data manipulator builderpublic DataAlreadyRegisteredException(String message, Throwable cause, @Nullable Class<? extends DataManipulator<?,?>> manipulatorClass, @Nullable Class<? extends ImmutableDataManipulator<?,?>> immutableManipulatorClass, @Nullable DataManipulatorBuilder<?,?> builder)
message
- The message to send with the exceptioncause
- The cause of the exceptionmanipulatorClass
- The manipulator classimmutableManipulatorClass
- The immutable manipulator classbuilder
- The data manipulator builderpublic DataAlreadyRegisteredException(Throwable cause, @Nullable Class<? extends DataManipulator<?,?>> manipulatorClass, @Nullable Class<? extends ImmutableDataManipulator<?,?>> immutableManipulatorClass, @Nullable DataManipulatorBuilder<?,?> builder)
cause
- The cause of the exceptionmanipulatorClass
- The manipulator classimmutableManipulatorClass
- The immutable manipulator classbuilder
- The data manipulator builder@Nullable public Class<? extends DataManipulator<?,?>> getManipulatorClass()
@Nullable public Class<? extends ImmutableDataManipulator<?,?>> getImmutableManipulatorClass()
@Nullable public DataManipulatorBuilder<?,?> getBuilder()