Class MissingNoArgsConstructorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
eu.cloudnetservice.driver.network.rpc.exception.MissingNoArgsConstructorException
- All Implemented Interfaces:
Serializable
A runtime exception being thrown when the required no args constructor for databufable serialization is missing.
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingNoArgsConstructorException(@NonNull Class<?> clazz) Constructs a new missing no 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
-
MissingNoArgsConstructorException
Constructs a new missing no args constructor exception instance.- Parameters:
clazz- the class in which the constructor is missing.- Throws:
NullPointerException- if the given class is null.
-