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

com.lightbend.lagom.javadsl.api.deser.SerializationException 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.deser;

import com.lightbend.lagom.javadsl.api.transport.TransportErrorCode;
import com.lightbend.lagom.javadsl.api.transport.TransportException;

/**
 * Thrown when an error was encountered during serialization.
 */
public class SerializationException extends TransportException {
    public static final TransportErrorCode ERROR_CODE = TransportErrorCode.InternalServerError;

    public SerializationException(String message) {
        super(ERROR_CODE, message);
    }

    public SerializationException(Throwable cause) {
        super(ERROR_CODE, cause);
    }

    public SerializationException(TransportErrorCode errorCode, ExceptionMessage exceptionMessage) {
        super(errorCode, exceptionMessage);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy