Class FindException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.jbstrap.core.dao.exception.FindException
All Implemented Interfaces:
Serializable

public class FindException extends Exception
This exception is thrown when any error is encountered during a find operation
Since:
4.0
Author:
JBStrap
See Also:
  • Constructor Details

    • FindException

      public FindException(Throwable e)
      Throws a find exception. The stack trace is from the exception specified in the parameter.
      Parameters:
      e - The original exception
    • FindException

      public FindException(String message, Throwable e)
      Throws a find exception. The stack trace is from the exception specified in the parameter.
      Parameters:
      message - The error message text
      e - The original exception
    • FindException

      public FindException(String exceptionMessageKey, Throwable e, Object... args)
      Throws a find exception. The error message is created, based on the message parameters and the message key. The stack trace originates from the error that is specified in the parameter.
      Parameters:
      exceptionMessageKey - The error message key, which is a message source key
      e - The original exception
      args - Error message parameters (message source message arguments)
  • Method Details

    • getExceptionMessageKey

      public String getExceptionMessageKey()
      Gets the exception message source key
      Returns:
      The exception message key