public class DataRegistrationNotFoundException extends DataException
Constructor and Description |
---|
DataRegistrationNotFoundException()
Constructs a basic data registration not found exception.
|
DataRegistrationNotFoundException(String registrationQuery)
Constructs a data registration not found exception with a specified
registration query, which will be used as the message.
|
DataRegistrationNotFoundException(String message,
Class<? extends DataManipulator<?,?>> manipulatorClass)
Constructs a data registration not found exception with a message and a
specified data manipulator class.
|
DataRegistrationNotFoundException(String message,
Class<? extends DataManipulator<?,?>> manipulatorClass,
Class<? extends ImmutableDataManipulator<?,?>> immutableClass)
Constructs a data registration not found exception with a message,
an immutable data manipulator class, and a mutable
data manipulator class.
|
DataRegistrationNotFoundException(String message,
String registrationQuery)
Constructs a data registration not found exception with a specified
message and registration query.
|
DataRegistrationNotFoundException(String message,
Throwable cause,
Class<? extends DataManipulator<?,?>> manipulatorClass)
Constructs a data registration not found exception with a message,
a throwable cause, and a specified data manipulator class.
|
DataRegistrationNotFoundException(String message,
Throwable cause,
Class<? extends DataManipulator<?,?>> manipulatorClass,
Class<? extends ImmutableDataManipulator<?,?>> immutableClass)
Constructs a data registration not found exception with a message,
a throwable cause, an immutable data manipulator class,
and a mutable data manipulator class.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends ImmutableDataManipulator<?,?>> |
getImmutableClass()
Gets the immutable data manipulator class, if present.
|
Class<? extends DataManipulator<?,?>> |
getManipulatorClass()
Gets the data manipulator class, if present.
|
String |
getRegistrationQuery()
Gets the specified registration query, if present.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DataRegistrationNotFoundException()
public DataRegistrationNotFoundException(String registrationQuery)
registrationQuery
- The registration querypublic DataRegistrationNotFoundException(String message, String registrationQuery)
message
- The messageregistrationQuery
- The registration querypublic DataRegistrationNotFoundException(String message, Class<? extends DataManipulator<?,?>> manipulatorClass)
message
- The messagemanipulatorClass
- The manipulator classpublic DataRegistrationNotFoundException(String message, Throwable cause, Class<? extends DataManipulator<?,?>> manipulatorClass)
message
- The messagecause
- The causemanipulatorClass
- The manipulator classpublic DataRegistrationNotFoundException(String message, @Nullable Class<? extends DataManipulator<?,?>> manipulatorClass, Class<? extends ImmutableDataManipulator<?,?>> immutableClass)
message
- The messagemanipulatorClass
- The manipulator classimmutableClass
- The immutable classpublic DataRegistrationNotFoundException(String message, Throwable cause, @Nullable Class<? extends DataManipulator<?,?>> manipulatorClass, Class<? extends ImmutableDataManipulator<?,?>> immutableClass)
message
- The messagecause
- The causemanipulatorClass
- The manipulator classimmutableClass
- The immutable class@Nullable public String getRegistrationQuery()
@Nullable public Class<? extends DataManipulator<?,?>> getManipulatorClass()
@Nullable public Class<? extends ImmutableDataManipulator<?,?>> getImmutableClass()