Class RestException

  • All Implemented Interfaces:
    Serializable

    public class RestException
    extends NetLicensingException
    The Class RestException can be used in cases where no checked exception can be thrown (e.g. 3pp interfaces implementation).
    See Also:
    Serialized Form
    • Constructor Detail

      • RestException

        public RestException​(String msg)
        Construct a RestException with the specified detail message.
        Parameters:
        msg - the detail message
      • RestException

        public RestException​(String msg,
                             Throwable cause)
        Construct a RestException with the specified detail message and cause exception.
        Parameters:
        msg - the detail message
        cause - the cause exception