com.envimate.webmate.NoUseCaseMappingForWebserviceRequestException Maven / Gradle / Ivy
/*
* Copyright (C) 2017 [Richard Hauswald, Nune Isabekyan] (envimate GmbH - https://envimate.com/)
*/
package com.envimate.webmate;
public final class NoUseCaseMappingForWebserviceRequestException extends RuntimeException {
private static final long serialVersionUID = 4689869583013508601L;
private NoUseCaseMappingForWebserviceRequestException(final String message) {
super(message);
}
static NoUseCaseMappingForWebserviceRequestException noUseCaseMappingForWebserviceRequestException(
final RawHttpRequest rawHttpRequest) {
final String message = String.format("No use case mapping found for request %s", rawHttpRequest);
return new NoUseCaseMappingForWebserviceRequestException(message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy