Class PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch

    • Constructor Detail

      • PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch

        public PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch​(Field actualField,
                                                                                    Field definedField)
      • PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch

        public PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch​(Field actualField,
                                                                                    Field definedField,
                                                                                    String message)
      • PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch

        public PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch​(Field actualField,
                                                                                    Field definedField,
                                                                                    Throwable cause)
      • PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch

        public PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch​(Field actualField,
                                                                                    Field definedField,
                                                                                    String message,
                                                                                    Throwable cause)
      • PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch

        public PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch​(Field actualField,
                                                                                    Field definedField,
                                                                                    String message,
                                                                                    Throwable cause,
                                                                                    boolean enableSuppression,
                                                                                    boolean writableStackTrace)
    • Method Detail

      • getActualType

        public Object getActualType()
      • getDefinedType

        public Object getDefinedType()
      • getMessage

        public String getMessage()
        Description copied from class: BaseException
        Due to bad class design in the JDK's Throwable, this getter-named methods actually serves as the output string assembly method.
        For the actual message getter, see BaseException.message() (which is a preferable name, anyway).
        For the actually executed logic, see BaseException.assembleOutputString(), which is called by this method.
        Overrides:
        getMessage in class BaseException
        Returns:
        this exception type's generic output string plus an explicit message if present.