com.nike.riposte.server.error.exception.PathParameterMatchingException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of riposte-spi Show documentation
Show all versions of riposte-spi Show documentation
Riposte module riposte-spi
package com.nike.riposte.server.error.exception;
/**
* Thrown when the server tries to decode path parameters for a request, but the request path doesn't match the path
* template.
*
* @author Nic Munroe
*/
public class PathParameterMatchingException extends RuntimeException {
public final String pathTemplate;
public final String nonMatchingUriPath;
public PathParameterMatchingException(String message, String pathTemplate, String nonMatchingUriPath) {
super(message);
this.pathTemplate = pathTemplate;
this.nonMatchingUriPath = nonMatchingUriPath;
}
}