Class AppEndpointException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AppEndpointException
    extends java.lang.Exception
    Thrown if an error occurs while sending a message to a DigitalTwin
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AppEndpointException​(java.lang.Exception e)
      Creates a AppEndpointException with the parameter message
      AppEndpointException​(java.lang.String message)
      Creates a AppEndpointException with the parameter message and inner exception
      AppEndpointException​(java.lang.String message, java.lang.Exception e)
      Creates a AppEndpointException with the parameter message and inner exception
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • AppEndpointException

        public AppEndpointException​(java.lang.String message,
                                    java.lang.Exception e)
        Creates a AppEndpointException with the parameter message and inner exception
        Parameters:
        message - the cause of this exception
        e - the inner exception
      • AppEndpointException

        public AppEndpointException​(java.lang.Exception e)
        Creates a AppEndpointException with the parameter message
        Parameters:
        e - the inner exception
      • AppEndpointException

        public AppEndpointException​(java.lang.String message)
        Creates a AppEndpointException with the parameter message and inner exception
        Parameters:
        message - the cause of this exception
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable