Class DBOpException

    • Constructor Summary

      Constructors 
      Constructor Description
      DBOpException​(java.lang.String message)  
      DBOpException​(java.lang.String message, java.lang.Throwable cause)  
      DBOpException​(java.lang.String message, java.lang.Throwable cause, ErrorContext context)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static DBOpException forCause​(java.lang.String sql, java.sql.SQLException e)  
      java.util.Optional<ErrorContext> getContext()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DBOpException

        public DBOpException​(java.lang.String message)
      • DBOpException

        public DBOpException​(java.lang.String message,
                             java.lang.Throwable cause)
      • DBOpException

        public DBOpException​(java.lang.String message,
                             java.lang.Throwable cause,
                             ErrorContext context)