Class OperationException

    • Field Detail

      • rollback

        protected boolean rollback
    • Constructor Detail

      • OperationException

        public OperationException​(String message)
      • OperationException

        public OperationException​(Throwable cause)
      • OperationException

        public OperationException​(String message,
                                  Throwable cause)
    • Method Detail

      • isRollback

        public boolean isRollback()
        Whether this exception should rollback the current transaction. The default is true if not explicitly set by calling setNoRollback().