Class PersistenceExceptionTypeNotPersistable

    • Constructor Detail

      • PersistenceExceptionTypeNotPersistable

        public PersistenceExceptionTypeNotPersistable​(Class<?> type)
      • PersistenceExceptionTypeNotPersistable

        public PersistenceExceptionTypeNotPersistable​(Class<?> type,
                                                      String message)
      • PersistenceExceptionTypeNotPersistable

        public PersistenceExceptionTypeNotPersistable​(Class<?> type,
                                                      Throwable cause)
      • PersistenceExceptionTypeNotPersistable

        public PersistenceExceptionTypeNotPersistable​(Class<?> type,
                                                      String message,
                                                      Throwable cause)
      • PersistenceExceptionTypeNotPersistable

        public PersistenceExceptionTypeNotPersistable​(Class<?> type,
                                                      String message,
                                                      Throwable cause,
                                                      boolean enableSuppression,
                                                      boolean writableStackTrace)
    • Method Detail

      • getType

        public Class<?> getType()
      • 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.