blob: 3bf954420a6637aea5d6ac471d68cf33833c25f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/vespalib/util/exception.h>
namespace vespalib {
class JsonStreamException : public Exception {
string _reason;
public:
JsonStreamException(stringref reason,
stringref history,
stringref location, int skipStack = 0);
stringref getReason() const { return _reason; }
VESPA_DEFINE_EXCEPTION_SPINE(JsonStreamException);
~JsonStreamException();
};
}
|