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

public class MissingAllArgsConstructorException extends IllegalStateException
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 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.