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 sealed class MinFraudException
extends Exception
permits AuthenticationException, InsufficientFundsException, InvalidRequestException, PermissionRequiredException
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 Summary
ConstructorsConstructorDescriptionMinFraudException(String message) MinFraudException(String message, Throwable e) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MinFraudException
- Parameters:
message- A message explaining the cause of the error.
-
MinFraudException
-