libfacade 1.1
A library for manipulating PNG images with payloads.
Loading...
Searching...
No Matches
Classes | Namespaces
exception.hpp File Reference

A collection of exceptions thrown by the library. More...

#include <cstdint>
#include <exception>
#include <sstream>
#include <string>

Go to the source code of this file.

Classes

class  facade::exception::Exception
 The base exception that all exceptions in this library are built upon. More...
 
class  facade::exception::InvalidChunkTag
 An exception thrown when a provided chunk tag is not valid. More...
 
class  facade::exception::OutOfBounds
 An exception thrown when the operation goes out of bounds. More...
 
class  facade::exception::NullPointer
 An exception thrown when encountering a null pointer. More...
 
class  facade::exception::BadPNGSignature
 An exception thrown when the signature header of a given binary stream is not a PNG header. More...
 
class  facade::exception::BadCRC
 An exception thrown when the CRC didn't match expectations. More...
 
class  facade::exception::OpenFileFailure
 An exception thrown when a file couldn't be opened, either for reading or writing. More...
 
class  facade::exception::InsufficientSize
 An exception thrown when there was not enough data to complete the operation. More...
 
class  facade::exception::NoHeaderChunk
 An exception thrown when no header chunk is present in a PNG file. More...
 
class  facade::exception::ZLibError
 An exception thrown when encountering a ZLib error. More...
 
class  facade::exception::NoImageDataChunks
 An exception thrown when no image data chunks are present in the PNG file. More...
 
class  facade::exception::NoImageData
 An exception thrown when image data is not currently loaded in the PNG object. More...
 
class  facade::exception::PixelMismatch
 An exception thrown when pixel types do not match up. More...
 
class  facade::exception::NoPixels
 An exception thrown when no pixels appear in a given scanline. More...
 
class  facade::exception::InvalidColorType
 An exception thrown when the color type does not match the facade::png::ColorType enum. More...
 
class  facade::exception::InvalidBitDepth
 An exception thrown when the given bit depth isn't a valid value. More...
 
class  facade::exception::ScanlineMismatch
 An exception thrown when the scanline pixel types do not match up. More...
 
class  facade::exception::InvalidFilterType
 An exception thrown when the given filter type does not match the facade::png::FilterType enum. More...
 
class  facade::exception::AlreadyFiltered
 An exception thrown when the PNG image has already been filtered. More...
 
class  facade::exception::IntegerOverflow
 An exception thrown when a given integer overflows. More...
 
class  facade::exception::NoData
 An exception thrown when no data is provided. More...
 
class  facade::exception::InvalidPixelType
 An exception thrown when the pixel type does not match the facade::png::PixelEnum enum. More...
 
class  facade::exception::NoKeyword
 An exception thrown when no keyword is present in the given tEXt or zTXt chunk of a PNG image. More...
 
class  facade::exception::KeywordTooLong
 An exception thrown when the given keyword is too long for the tEXt or zTXt chunk. More...
 
class  facade::exception::TextNotFound
 An exception returned when the given tEXt or zTXt section parameters (typically the keyword) is not found in the PNG data. More...
 
class  facade::exception::InvalidBase64Character
 An exception thrown when encountering an invalid Base64 character. More...
 
class  facade::exception::InvalidBase64String
 An exception thrown when encountering an invalid base64 string. More...
 
class  facade::exception::UnsupportedPixelType
 An exception thrown when the given pixel enum type is not supported. More...
 
class  facade::exception::ImageTooSmall
 An exception thrown when the possible space provided by the image data is too small for the given operation. More...
 
class  facade::exception::NoStegoData
 An exception thrown when no steganographic data is present. More...
 
class  facade::exception::ChunkNotFound
 An exception thrown when the chunk is not found in the PNG data. More...
 
class  facade::exception::InvalidBitOffset
 An exception thrown when the given bit offset is not a multiple of 4. More...
 
class  facade::exception::NoTrailingData
 An exception thrown when no trailing data is present in the PNG image. More...
 
class  facade::exception::InvalidIconHeader
 An exception thrown when encountering an invalid icon file. More...
 
class  facade::exception::NoIconData
 An exception thrown when encountering no image data within an icon object. More...
 
class  facade::exception::NoPNGIcon
 An exception thrown when no PNG image is present in icon data. More...
 

Namespaces

namespace  facade
 
namespace  facade::exception
 

Detailed Description

A collection of exceptions thrown by the library.