Class 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()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 response
        message - 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 response
        message - A message about the exception
        cause - 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 response
        cause - 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 response
        message - A message about the exception
        cause - The cause of the exception
        enableSuppression - Enable suppression.
        writableStackTrace - Enable writable stack trace.
    • Method Detail

      • fillInStackTrace

        public final java.lang.Throwable fillInStackTrace()
        Overrides:
        fillInStackTrace in class java.lang.Throwable