aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/main/java/com/yahoo/document/serialization/DeserializationException.java
blob: 0f0c22d7190d355673f373ce44734af6dd873a64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document.serialization;

/**
 * Exception which is thrown when deserialization fails.
 *
 * @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
 */
public class DeserializationException extends RuntimeException {
    public DeserializationException(String msg) {
        super(msg);
    }

    public DeserializationException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public DeserializationException(Throwable cause) {
        super(cause);
    }
}