Package com.maxmind.minfraud.exception
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
, andInvalidRequestException
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MinFraudException(String message)
MinFraudException(String message, Throwable e)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MinFraudException
public MinFraudException(String message)
- Parameters:
message
- A message explaining the cause of the error.
-
-