Package ai.preferred.venom.fetcher
Class StopCodeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ai.preferred.venom.fetcher.StopCodeException
-
- All Implemented Interfaces:
java.io.Serializable
public class StopCodeException extends java.lang.Exception
- Author:
- Ween Jiann Lee
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StopCodeException(int statusCode, java.lang.String message)
Constructs a stop code exception with a message.StopCodeException(int statusCode, java.lang.String message, java.lang.Throwable cause)
Constructs a stop code exception with a message and a cause.StopCodeException(int statusCode, java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Constructs a stop code exception with a message and a cause.StopCodeException(int statusCode, java.lang.Throwable cause)
Constructs a stop code exception with a cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
-
-
-
Constructor Detail
-
StopCodeException
public StopCodeException(int statusCode, java.lang.String message)
Constructs a stop code exception with a message.- Parameters:
statusCode
- The status code received from the responsemessage
- A message about the exception
-
StopCodeException
public StopCodeException(int statusCode, java.lang.String message, java.lang.Throwable cause)
Constructs a stop code exception with a message and a cause.- Parameters:
statusCode
- The status code received from the responsemessage
- A message about the exceptioncause
- The cause of the exception
-
StopCodeException
public StopCodeException(int statusCode, java.lang.Throwable cause)
Constructs a stop code exception with a cause.- Parameters:
statusCode
- The status code received from the responsecause
- The cause of the exception
-
StopCodeException
public StopCodeException(int statusCode, java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Constructs a stop code exception with a message and a cause.- Parameters:
statusCode
- The status code received from the responsemessage
- A message about the exceptioncause
- The cause of the exceptionenableSuppression
- Enable suppression.writableStackTrace
- Enable writable stack trace.
-
-