Class IdInterfaceExceptions

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.data.mapping.MappingException
org.springframework.data.cassandra.core.mapping.IdInterfaceExceptions
All Implemented Interfaces:
Serializable

public class IdInterfaceExceptions extends org.springframework.data.mapping.MappingException
Aggregator of multiple violations for convenience when verifying id interfaces. This allows the framework to communicate all errors at once, rather than one at a time.
Author:
Matthew T. Adams, Mark Paluch
See Also:
  • Constructor Details

    • IdInterfaceExceptions

      public IdInterfaceExceptions(Class<?> idInterfaceClass, Collection<org.springframework.data.mapping.MappingException> exceptions)
      Create a new IdInterfaceExceptions for the given idInterfaceClass and exceptions.
      Parameters:
      idInterfaceClass - must not be null.
      exceptions - must not be null.
      Since:
      2.0
  • Method Details