All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.envimate.webmate.NoUseCaseMappingForWebserviceRequestException Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
/*
 * 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