Class MissingAllArgsConstructorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
eu.cloudnetservice.driver.network.rpc.exception.MissingAllArgsConstructorException
- All Implemented Interfaces:
Serializable
A runtime exception being thrown when the constructor with all arguments of a class included for rpc (de-)
serialization is missing.
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingAllArgsConstructorException(@NonNull Class<?> clazz, @NonNull Class<?>[] arguments) Constructs a new missing all args constructor exception instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingAllArgsConstructorException
public MissingAllArgsConstructorException(@NonNull @NonNull Class<?> clazz, @NonNull @NonNull Class<?>[] arguments) Constructs a new missing all args constructor exception instance.- Parameters:
clazz- the class in which the constructor is missing.arguments- the argument types which the constructor is missing.- Throws:
NullPointerException- if the given class or arguments array is null.
-