Class VerifierMappingExceptions

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

public class VerifierMappingExceptions extends org.springframework.data.mapping.MappingException
Aggregator of multiple MappingException for convenience when verifying persistent entities. This allows the framework to communicate all verification errors to the user of the framework, rather than one at a time.
Author:
David Webb, Mark Paluch
See Also:
  • Constructor Details

  • Method Details

    • getMappingExceptions

      public Collection<org.springframework.data.mapping.MappingException> getMappingExceptions()
      Returns a list of the MappingExceptions aggregated within.
      Returns:
      collection of MappingException.
    • getMessages

      public Collection<String> getMessages()
      Returns a list of the MappingException messages aggregated within.
      Returns:
      collection of messages.
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable