Class DuplicateModuleRegistrationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.configuration.DuplicateModuleRegistrationException
All Implemented Interfaces:
Serializable

public class DuplicateModuleRegistrationException extends RuntimeException
Exception indicating that a duplicate registration of modules has been detected. This happens when two modules are registered under the same name.
Since:
5.0.0
Author:
Allard Buijze
See Also:
  • Constructor Details

    • DuplicateModuleRegistrationException

      public DuplicateModuleRegistrationException(Module module)
      Initialize the exception indicating that the given module failed to register.
      Parameters:
      module - The module that failed to register.