Program Listing for File Exceptions.h

Return to documentation for file (include/lanelet2_io/Exceptions.h)

#pragma once
#include <lanelet2_core/Exceptions.h>

#include <stdexcept>

namespace lanelet {
class IOError : public LaneletMultiError {
  using LaneletMultiError::LaneletMultiError;
};

class FileNotFoundError : public IOError {
  using IOError::IOError;
};

class UnsupportedExtensionError : public IOError {
  using IOError::IOError;
};

class UnsupportedIOHandlerError : public IOError {
  using IOError::IOError;
};

class ParseError : public IOError {
  using IOError::IOError;
};

class WriteError : public IOError {
  using IOError::IOError;
};

class ForwardProjectionError : public ParseError {
  using ParseError::ParseError;
};

class ReverseProjectionError : public WriteError {
  using WriteError::WriteError;
};

class DefaultProjectionNotAllowedError : public IOError {
  using IOError::IOError;
};
}  // namespace lanelet