Class RequestRejectedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inductiveautomation.ignition.gateway.dataroutes.RequestRejectedException
All Implemented Interfaces:
Serializable

public class RequestRejectedException extends Exception
Carries a message meant for whoever made the request, for the responses where the fault is the caller's and there is nothing to diagnose on the server.

An implementation detail of PushResponse.rejected(String) and PathModifyResponse.rejected(String) rather than something to construct directly: problem is typed Throwable, so a message-only rejection still needs a carrier. RequestRejectedExceptionSerializer is registered for this exact type, which is what keeps the stacktrace array out of the body.

Never thrown. Its message reaches a response verbatim, so it must never carry internal detail.

See Also:
  • Constructor Details

    • RequestRejectedException

      public RequestRejectedException(String message)