Class RestClientDefinitionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RestClientDefinitionException
    extends java.lang.RuntimeException
    This exception is thrown when the MicroProfile Rest Client implementation attempts to build a client using an invalid interface. Interfaces are considered invalid (1) if it contains a method with more than one HTTP method annotations or (2) if the combined type-level/method-level URI path contains an unresolved URI template or (3) if an interface method contains a @PathParam annotation that refers to a URI template that is not defined in any @Path annotations on the method or interface.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

      • RestClientDefinitionException

        public RestClientDefinitionException()
      • RestClientDefinitionException

        public RestClientDefinitionException​(java.lang.String paramString)
      • RestClientDefinitionException

        public RestClientDefinitionException​(java.lang.String paramString,
                                             java.lang.Throwable paramThrowable)
      • RestClientDefinitionException

        public RestClientDefinitionException​(java.lang.Throwable paramThrowable)