Package org.hibernate

Class InvalidMappingException

    • Constructor Detail

      • InvalidMappingException

        public InvalidMappingException​(String customMessage,
                                       String type,
                                       String path,
                                       Throwable cause)
        Constructs an InvalidMappingException using the given information.
        Parameters:
        customMessage - The custom message explaining the exception condition
        type - The type of invalid mapping document
        path - The path (type specific) of the invalid mapping document
        cause - The underlying cause
      • InvalidMappingException

        public InvalidMappingException​(String customMessage,
                                       String type,
                                       String path)
        Constructs an InvalidMappingException using the given information.
        Parameters:
        customMessage - The custom message explaining the exception condition
        type - The type of invalid mapping document
        path - The path (type specific) of the invalid mapping document
      • InvalidMappingException

        public InvalidMappingException​(String customMessage,
                                       Origin origin)
        Constructs an InvalidMappingException using the given information.
        Parameters:
        customMessage - The custom message explaining the exception condition
        origin - The origin of the invalid mapping document
    • Method Detail

      • getType

        public String getType()
      • getPath

        public String getPath()