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

com.lightbend.lagom.javadsl.api.transport.NotFound Maven / Gradle / Ivy

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