Class RestClientDefinitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.microprofile.rest.client.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
-
-
Constructor Summary
Constructors Constructor Description RestClientDefinitionException()
RestClientDefinitionException(java.lang.String paramString)
RestClientDefinitionException(java.lang.String paramString, java.lang.Throwable paramThrowable)
RestClientDefinitionException(java.lang.Throwable paramThrowable)
-
-
-
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)
-
-