Class NetworkException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.github.hsnghrld.idpay.exception.NetworkException
-
- All Implemented Interfaces:
Serializable
public final class NetworkException extends IOException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkException(String message)Constructs aNetworkExceptionwith an explanatory message.NetworkException(String message, Throwable cause)Constructs aNetworkExceptionwith an explanatory message and cause.NetworkException(Throwable cause)Constructs a newNetworkExceptionwith the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NetworkException
public NetworkException(String message)
Constructs aNetworkExceptionwith an explanatory message.- Parameters:
message- Detail about the reason for the exception.
-
NetworkException
public NetworkException(String message, Throwable cause)
Constructs aNetworkExceptionwith an explanatory message and cause.- Parameters:
message- Detail about the reason for the exception.cause- The cause.
-
NetworkException
public NetworkException(Throwable cause)
Constructs a newNetworkExceptionwith the specified cause.- Parameters:
cause- The cause.
-
-