Class DataFetchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- net.markenwerk.utils.data.fetcher.DataFetchException
-
- All Implemented Interfaces:
Serializable
public final class DataFetchException extends IOException
ADataFetchException
is a specializedIOException
that indicates that a fetch operation of aDataFetcher
has failed.- Since:
- 4.0.0
- Author:
- Torsten Krause (tk at markenwerk dot net)
- See Also:
DataFetcher
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataFetchException(String message)
Creates a newDataFetchException
with the given message.DataFetchException(String message, Throwable cause)
Creates a newDataFetchException
with the given message and cause.DataFetchException(Throwable cause)
Creates a newDataFetchException
with the given 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
-
DataFetchException
public DataFetchException(String message, Throwable cause)
Creates a newDataFetchException
with the given message and cause.- Parameters:
message
- The message.cause
- The cause of thisDataFetchException
.
-
DataFetchException
public DataFetchException(String message)
Creates a newDataFetchException
with the given message.- Parameters:
message
- The message.
-
DataFetchException
public DataFetchException(Throwable cause)
Creates a newDataFetchException
with the given cause.- Parameters:
cause
- The cause of thisDataFetchException
.
-
-