Class MinFraudException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.maxmind.minfraud.exception.MinFraudException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationException, InsufficientFundsException, InvalidRequestException, PermissionRequiredException

public class MinFraudException extends Exception
This class represents a non-specific error with the web service. Generally this will be thrown if the web service responds with an expected status but unexpected content.

It also serves as the base class for AuthenticationException, InsufficientFundsException, and InvalidRequestException.

See Also:
  • Constructor Details

    • MinFraudException

      public MinFraudException(String message)
      Parameters:
      message - A message explaining the cause of the error.
    • MinFraudException

      public MinFraudException(String message, Throwable e)
      Parameters:
      message - A message explaining the cause of the error.
      e - The cause of the exception.