com.lightbend.lagom.javadsl.api.transport.NotFound Maven / Gradle / Ivy
/*
* Copyright (C) 2016 Lightbend Inc.
*/
package com.lightbend.lagom.javadsl.api.transport;
import com.lightbend.lagom.javadsl.api.deser.ExceptionMessage;
/**
* Exception thrown when the resource was not found.
*/
public class NotFound extends TransportException {
public static final TransportErrorCode ERROR_CODE = TransportErrorCode.NotFound;
public NotFound(String message) {
super(ERROR_CODE, message);
}
public NotFound(Throwable cause) {
super(ERROR_CODE, cause);
}
public NotFound(TransportErrorCode errorCode, ExceptionMessage exceptionMessage) {
super(errorCode, exceptionMessage);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy