blob: bd7709924577587af6b147a8ed323d216654421a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "serializableexceptions.h"
namespace document {
VESPA_IMPLEMENT_EXCEPTION_SPINE(DeserializeException);
DeserializeException::DeserializeException(const vespalib::string& msg, const vespalib::string& location)
: IoException(msg, IoException::CORRUPT_DATA, location, 1)
{
}
DeserializeException::DeserializeException(
const vespalib::string& msg, const vespalib::Exception& cause,
const vespalib::string& location)
: IoException(msg, IoException::CORRUPT_DATA, cause, location, 1)
{
}
}
|