Grok
7.6.2
src
lib
jp2
util
grk_exceptions.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016-2020 Grok Image Compression Inc.
3
*
4
* This source code is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Affero General Public License, version 3,
6
* as published by the Free Software Foundation.
7
*
8
* This source code is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Affero General Public License for more details.
12
*
13
* You should have received a copy of the GNU Affero General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
*
17
*/
18
19
#pragma once
20
#include <stdexcept>
21
22
namespace
grk
{
23
24
class
DecodeUnknownMarkerAtEndOfTileException
:
public
std::exception {};
25
class
PluginDecodeUnsupportedException
:
public
std::exception {};
26
class
CorruptJP2BoxException
:
public
std::exception {};
27
class
TruncatedPacketHeaderException
:
public
std::exception {};
28
class
InvalidMarkerException
:
public
std::exception {
29
public
:
30
explicit
InvalidMarkerException
(uint16_t marker) :
m_marker
(marker)
31
{}
32
33
uint16_t
m_marker
;
34
35
};
36
class
MissingSparseBlockException
:
public
std::exception {};
37
}
grk::PluginDecodeUnsupportedException
Definition:
grk_exceptions.h:25
grk::InvalidMarkerException::InvalidMarkerException
InvalidMarkerException(uint16_t marker)
Definition:
grk_exceptions.h:30
grk::InvalidMarkerException
Definition:
grk_exceptions.h:28
grk::DecodeUnknownMarkerAtEndOfTileException
Definition:
grk_exceptions.h:24
grk::TruncatedPacketHeaderException
Definition:
grk_exceptions.h:27
grk
Copyright (C) 2016-2020 Grok Image Compression Inc.
Definition:
BitIO.cpp:23
grk::CorruptJP2BoxException
Definition:
grk_exceptions.h:26
grk::InvalidMarkerException::m_marker
uint16_t m_marker
Definition:
grk_exceptions.h:33
grk::MissingSparseBlockException
Definition:
grk_exceptions.h:36
Generated by
1.8.20