KiCad PCB EDA Suite
ki_exception.h File Reference
#include <wx/string.h>

Go to the source code of this file.

Classes

class  IO_ERROR
 Struct IO_ERROR is a class used to hold an error message and may be used when throwing exceptions containing meaningful error messages. More...
 
struct  PARSE_ERROR
 Struct PARSE_ERROR contains a filename or source description, a problem input line, a line number, a byte offset, and an error message which contains the the caller's report and his call site information: CPP source file, function, and line number. More...
 
struct  FUTURE_FORMAT_ERROR
 Struct FUTURE_FORMAT_ERROR variant of PARSE_ERROR indicating that a syntax or related error was likely caused by a file generated by a newer version of KiCad than this. More...
 

Macros

#define THROW_IO_ERROR(msg)   throw IO_ERROR( msg, __FILE__, __FUNCTION__, __LINE__ )
 
#define THROW_PARSE_ERROR(aProblem, aSource, aInputLine, aLineNumber, aByteIndex)   throw PARSE_ERROR( aProblem, __FILE__, __FUNCTION__, __LINE__, aSource, aInputLine, aLineNumber, aByteIndex )
 

Macro Definition Documentation

#define THROW_IO_ERROR (   msg)    throw IO_ERROR( msg, __FILE__, __FUNCTION__, __LINE__ )

macro which captures the "call site" values of FILE_, __FUNCTION & LINE

Definition at line 38 of file ki_exception.h.

Referenced by SCH_EDIT_FRAME::backAnnotateFootprints(), LEGACY_PLUGIN::biuParse(), EAGLE_PLUGIN::cacheLib(), GITHUB_PLUGIN::cacheLib(), FOOTPRINT_LIST_IMPL::CatchErrors(), checkConnectedTo(), LEGACY_PLUGIN::checkVersion(), SCH_LEGACY_PLUGIN::CreateSymbolLib(), LEGACY_PLUGIN::degParse(), SCH_LEGACY_PLUGIN_CACHE::DeleteAlias(), SCH_LEGACY_PLUGIN_CACHE::DeleteSymbol(), SCH_LEGACY_PLUGIN::DeleteSymbolLib(), FILE_LINE_READER::FILE_LINE_READER(), FILE_OUTPUTFORMATTER::FILE_OUTPUTFORMATTER(), SYMBOL_LIB_TABLE::FindRow(), FP_LIB_TABLE::FindRow(), GPCB_PLUGIN::FootprintDelete(), PCB_IO::FootprintDelete(), GITHUB_PLUGIN::FootprintDelete(), GPCB_PLUGIN::FootprintEnumerate(), PCB_IO::FootprintEnumerate(), PCB_IO::FootprintLibCreate(), GPCB_PLUGIN::FootprintLibDelete(), LEGACY_PLUGIN::FootprintLibDelete(), PCB_IO::FootprintLibDelete(), PCB_IO::FootprintSave(), GITHUB_PLUGIN::FootprintSave(), PCB_IO::format(), DSN::SPECCTRA_DB::FromBOARD(), DSN::SPECCTRA_DB::FromSESSION(), EAGLE_PLUGIN::getModificationTime(), KICAD_CURL::Init(), FOOTPRINT_LIST_IMPL::JoinWorkers(), KICAD_CURL_EASY::KICAD_CURL_EASY(), KIWAY::KiFACE(), PART_LIBS::LibNamesAndPaths(), EAGLE_PLUGIN::Load(), SCH_EAGLE_PLUGIN::Load(), CMP_READER::Load(), SCH_IO_MGR::Load(), IO_MGR::Load(), FP_CACHE::Load(), GPCB_FPL_CACHE::Load(), SCH_LEGACY_PLUGIN_CACHE::Load(), LEGACY_PLUGIN::load3D(), PART_LIBS::LoadAllLibraries(), LEGACY_PLUGIN::loadAllSections(), SCH_LEGACY_PLUGIN::loadBitmap(), LEGACY_PLUGIN::loadDIMENSION(), SCH_LEGACY_PLUGIN_CACHE::loadDocs(), EAGLE_PLUGIN::loadElements(), SCH_LEGACY_PLUGIN::loadFile(), LEGACY_PLUGIN::loadGENERAL(), SYMBOL_LIB_TABLE::LoadGlobalTable(), FP_LIB_TABLE::LoadGlobalTable(), SCH_LEGACY_PLUGIN::loadHeader(), PCAD2KICAD::LoadInputFile(), EAGLE_PLUGIN::loadLibrary(), LEGACY_PLUGIN::loadMODULE(), LEGACY_PLUGIN::loadMODULE_EDGE(), LEGACY_PLUGIN::loadNETCLASS(), LEGACY_PLUGIN::loadNETINFO_ITEM(), LEGACY_PLUGIN::loadPAD(), LEGACY_PLUGIN::loadPCB_LINE(), LEGACY_PLUGIN::loadPCB_TARGET(), LEGACY_PLUGIN::loadPCB_TEXT(), SCH_LEGACY_PLUGIN::loadSheet(), LEGACY_PLUGIN::loadSHEET(), LEGACY_PLUGIN::loadTrackList(), LEGACY_PLUGIN::loadZONE_CONTAINER(), PCB_PARSER::lookUpLayer(), DSN::SPECCTRA_DB::makeTRACK(), DSN::SPECCTRA_DB::makeVIA(), PCAD2KICAD::PCB::MapLayer(), not_implemented(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_PAD::Parse(), SYMBOL_LIB_TABLE::Parse(), FP_LIB_TABLE::Parse(), KICAD_NETLIST_PARSER::parseComponent(), PCB_PARSER::parseD_PAD(), PCB_PARSER::parseDouble(), parseInt(), PCB_PARSER::parseLayers(), GPCB_FPL_CACHE::parseMODULE(), PCB_PARSER::parseMODULE_unchecked(), PCB_PARSER::parseNETCLASS(), PCB_PARSER::parseTEXTE_MODULE(), PCB_PARSER::parseTRACK(), PCB_PARSER::parseVIA(), PCB_PARSER::parseZONE_CONTAINER(), KICAD_CURL_EASY::Perform(), IO_MGR::PluginFind(), LP_CACHE::ReadAndVerifyHeader(), FILE_LINE_READER::ReadLine(), STRING_LINE_READER::ReadLine(), INPUTSTREAM_LINE_READER::ReadLine(), GITHUB_PLUGIN::remoteGetZip(), FP_CACHE::Remove(), GPCB_FPL_CACHE::Remove(), SCH_IO_MGR::Save(), FP_CACHE::Save(), IO_MGR::Save(), BOARD::TracksInNetBetweenPoints(), UTF8::uni_forward(), FILE_OUTPUTFORMATTER::write(), and STREAM_OUTPUTFORMATTER::write().