FMT 1.2.0
Forest management tools for forest planning
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
Exception Namespace Reference

Namespace for exceptions and exceptions handling (warnings and errors) thrown by FMT and all exceptions handlers available. More...

Classes

class  FMTAggregateRedefinition
 
class  FMTAttributeRedefinition
 
class  FMTBoostGraphError
 
class  FMTCoinError
 
class  FMTCommaReplacement
 
class  FMTConstantsReplacement
 
class  FMTDeathWithLock
 
class  FMTDebugExceptionHandler
 Exception handler derived from FMTExceptionHandler that reports the source line and file where the exception comes from. More...
 
class  FMTDefaultExceptionHandler
 Default exception handler used in FMT, derived from FMTExceptionHandler. More...
 
class  FMTEmptyAction
 
class  FMTEmptyAggregate
 
class  FMTEmptyBound
 
class  FMTEmptyOA
 
class  FMTEmptySchedules
 
class  FMTEmptyTheme
 
class  FMTEmptyTransition
 
class  FMTError
 Exception class derived from FMTException for errors thrown in FMT. More...
 
class  FMTExcelExceptionHandler
 Exception handler used by the Excel add-in that accumulates build exceptions instead of throwing. More...
 
class  FMTException
 Base exception class for FMT holding the type, section and message of a given exception. More...
 
class  FMTExceptionFactory
 Factory class used to create FMT exception objects. More...
 
class  FMTExceptionHandler
 Base class used to handle errors thrown in FMT. More...
 
class  FMTFreeExceptionHandler
 Exception handler derived from FMTExceptionHandler that passes exceptions thrown by FMT directly to the user. More...
 
class  FMTFunctionFailed
 
class  FMTFuturTypes
 
class  FMTGDALConstructorError
 
class  FMTGDALError
 
class  FMTGDALWarning
 
class  FMTIgnore
 
class  FMTInfeasibleConstraint
 
class  FMTInvalidAandT
 
class  FMTInvalidAction
 
class  FMTInvalidAggregate
 
class  FMTInvalidBand
 
class  FMTInvalidConstraint
 
class  FMTInvalidDataset
 
class  FMTInvalidDriver
 
class  FMTInvalidGeometry
 
class  FMTInvalidLayer
 
class  FMTInvalidMaskrange
 
class  FMTInvalidNumber
 
class  FMTInvalidOverview
 
class  FMTInvalidPath
 
class  FMTInvalidRasterBlock
 
class  FMTInvalidTheme
 
class  FMTInvalidTransition
 
class  FMTInvalidTransitionCase
 
class  FMTInvalidYield
 
class  FMTInvalidYieldNumber
 
class  FMTLeakingTransition
 
class  FMTMissingDevelopment
 
class  FMTMissingField
 
class  FMTMissingLicense
 
class  FMTMissingObjective
 
class  FMTMissingParameter
 
class  FMTMissingRasterAttribute
 
class  FMTMissingScenarios
 
class  FMTMissingYield
 
class  FMTMSKError
 
class  FMTMSKNumericalProblem
 
class  FMTNonAddedConstraint
 
class  FMTNotLineGraph
 
class  FMTOutOfRangeYield
 
class  FMTOutputMissingOperator
 
class  FMTOutputTooMuchOperator
 
class  FMTOveridedYield
 
class  FMTPreexistingYield
 
class  FMTQuietExceptionHandler
 Silent exception handler derived from FMTExceptionHandler that throws errors but logs nothing and raises no warnings. More...
 
class  FMTRangeError
 
class  FMTReplanningWarning
 
class  FMTSameTransitionTargets
 
class  FMTSchemeFailed
 
class  FMTScopedSeTranslator
 RAII helper that installs a structured exception translator for its scope on MSVC. More...
 
class  FMTSeException
 Exception representing a structured exception (SE) caught on Windows. More...
 
class  FMTSourceToTargetTransition
 
class  FMTThematicOutputDiff
 
class  FMTThemeRedefinition
 
class  FMTThreadCrash
 
class  FMTUnboundedPeriod
 
class  FMTUnclosedForLoop
 
class  FMTUndefinedAction
 
class  FMTUndefinedAggregateValue
 
class  FMTUndefinedAttribute
 
class  FMTUndefinedConstant
 
class  FMTUndefinedDeathAction
 
class  FMTUndefinedDeathTransition
 
class  FMTUndefinedOutput
 
class  FMTUndefinedOutputAttribute
 
class  FMTUnhandledError
 
class  FMTUnreachableThreshold
 
class  FMTUnsupportedObjective
 
class  FMTUnsupportedOutput
 
class  FMTUnsupportedTransition
 
class  FMTUnsupportedYield
 
class  FMTWarning
 Exception class derived from FMTException for warnings in FMT. More...
 
class  FMTWIN32Error
 
class  FMTWrongPartial
 
class  FMTYieldModelPrediction
 

Enumerations

enum  FMTlev {
  FMT_None =0 , FMT_Debug =1 , FMT_Warning =2 , FMT_logic =3 ,
  FMT_range =4
}
 Enumerator describing the kind of exception thrown by FMT. More...
 
enum  FMTexc {
  None = 0 , FMTconstants_replacement = 1 , FMTcomma_replacement = 2 , FMTfutur_types = 3 ,
  FMTinvalid_theme = 5 , FMTinvalid_aggregate = 6 , FMTinvalid_maskrange = 7 , FMTinvalid_yield = 8 ,
  FMTinvalid_action = 9 , FMTinvalid_transition = 10 , FMTinvalid_transition_case = 11 , FMTinvalid_number = 12 ,
  FMTinvalid_path = 13 , FMTtheme_redefinition = 14 , FMTaggregate_redefinition = 15 , FMTempty_theme = 16 ,
  FMTempty_aggregate = 17 , FMTundefined_aggregate_value = 18 , FMTundefined_attribute = 19 , FMTempty_action = 20 ,
  FMTwrong_partial = 21 , FMTpreexisting_yield = 22 , FMTunsupported_yield = 23 , FMTinvaliddataset = 24 ,
  FMTinvalidband = 25 , FMTinvalidrasterblock = 26 , FMTinvalidlayer = 27 , FMTmissingfield = 28 ,
  FMTinvalidoverview = 29 , FMTmissingrasterattribute = 30 , FMTunsupported_transition = 31 , FMTundefined_action = 32 ,
  FMTempty_transition = 33 , FMTundefined_output = 34 , FMTunsupported_output = 35 , FMTinvaliddriver = 36 ,
  FMTinvalidAandT = 37 , FMTleakingtransition = 38 , FMTundefineddeathaction = 39 , FMTundefineddeathtransition = 40 ,
  FMTignore = 41 , FMTmissingyield = 42 , FMTattribute_redefinition = 43 , FMTundefined_constant = 44 ,
  FMTmissingdevelopment = 45 , FMTmissingobjective = 46 , FMTunsupported_objective = 47 , FMTinvalid_constraint = 48 ,
  FMTemptybound = 49 , FMTunboundedperiod = 50 , FMTnonaddedconstraint = 51 , FMTmissinglicense = 52 ,
  FMTfunctionfailed = 53 , FMTcoinerror = 54 , FMTboostgrapherror = 55 , FMTunhandlederror = 56 ,
  FMTnotlinegraph = 57 , FMTrangeerror = 58 , FMTGDALerror = 59 , FMTGDALwarning = 60 ,
  FMTinfeasibleconstraint = 61 , FMTthematic_output_diff = 62 , FMToutput_missing_operator = 63 , FMToutput_too_much_operator = 64 ,
  FMTinvalidyield_number = 65 , FMTgdal_constructor_error = 66 , FMTinvalid_geometry = 67 , FMTundefinedoutput_attribute = 68 ,
  FMTempty_schedules = 69 , FMTmissing_scenarios = 70 , FMTschemefailed = 71 , FMTmskerror = 73 ,
  FMToveridedyield = 74 , FMTmissing_parameter = 75 , FMTdeathwithlock = 76 , FMTreplanningwarning = 77 ,
  FMTyieldmodelprediction = 78 , FMTsourcetotarget_transition = 79 , FMTsame_transitiontargets = 80 , FMTunclosedforloop = 81 ,
  FMTthreadcrash = 82 , FMToutofrangeyield = 83 , FMTEmpty_OA = 84 , FMTWIN32_Error = 85 ,
  FMTMSKnumerical_problem = 86 , FMTunreachable_threshold = 87 , FMTmaxnumberofexception = 88
}
 Enumerator describing the exceptions thrown by FMT. More...
 

Functions

void CPL_STDCALL FMTCPLErrorHandler (CPLErr eErrClass, CPLErrorNum nError, const char *pszErrorMsg)
 Callback used in GDAL for handling GDAL errors.
 

Detailed Description

Namespace for exceptions and exceptions handling (warnings and errors) thrown by FMT and all exceptions handlers available.

Namespace for exceptions and exception handling utilities used by FMT.

Enumeration Type Documentation

◆ FMTexc

Enumerator describing the exceptions thrown by FMT.

Enumerator
None 
FMTconstants_replacement 
FMTcomma_replacement 
FMTfutur_types 
FMTinvalid_theme 
FMTinvalid_aggregate 
FMTinvalid_maskrange 
FMTinvalid_yield 
FMTinvalid_action 
FMTinvalid_transition 
FMTinvalid_transition_case 
FMTinvalid_number 
FMTinvalid_path 
FMTtheme_redefinition 
FMTaggregate_redefinition 
FMTempty_theme 
FMTempty_aggregate 
FMTundefined_aggregate_value 
FMTundefined_attribute 
FMTempty_action 
FMTwrong_partial 
FMTpreexisting_yield 
FMTunsupported_yield 
FMTinvaliddataset 
FMTinvalidband 
FMTinvalidrasterblock 
FMTinvalidlayer 
FMTmissingfield 
FMTinvalidoverview 
FMTmissingrasterattribute 
FMTunsupported_transition 
FMTundefined_action 
FMTempty_transition 
FMTundefined_output 
FMTunsupported_output 
FMTinvaliddriver 
FMTinvalidAandT 
FMTleakingtransition 
FMTundefineddeathaction 
FMTundefineddeathtransition 
FMTignore 
FMTmissingyield 
FMTattribute_redefinition 
FMTundefined_constant 
FMTmissingdevelopment 
FMTmissingobjective 
FMTunsupported_objective 
FMTinvalid_constraint 
FMTemptybound 
FMTunboundedperiod 
FMTnonaddedconstraint 
FMTmissinglicense 
FMTfunctionfailed 
FMTcoinerror 
FMTboostgrapherror 
FMTunhandlederror 
FMTnotlinegraph 
FMTrangeerror 
FMTGDALerror 
FMTGDALwarning 
FMTinfeasibleconstraint 
FMTthematic_output_diff 
FMToutput_missing_operator 
FMToutput_too_much_operator 
FMTinvalidyield_number 
FMTgdal_constructor_error 
FMTinvalid_geometry 
FMTundefinedoutput_attribute 
FMTempty_schedules 
FMTmissing_scenarios 
FMTschemefailed 
FMTmskerror 
FMToveridedyield 
FMTmissing_parameter 
FMTdeathwithlock 
FMTreplanningwarning 
FMTyieldmodelprediction 
FMTsourcetotarget_transition 
FMTsame_transitiontargets 
FMTunclosedforloop 
FMTthreadcrash 
FMToutofrangeyield 
FMTEmpty_OA 
FMTWIN32_Error 
FMTMSKnumerical_problem 
FMTunreachable_threshold 
FMTmaxnumberofexception 

◆ FMTlev

Enumerator describing the kind of exception thrown by FMT.

Enumerator
FMT_None 
FMT_Debug 
FMT_Warning 
FMT_logic 
FMT_range 

Function Documentation

◆ FMTCPLErrorHandler()

void CPL_STDCALL Exception::FMTCPLErrorHandler ( CPLErr  eErrClass,
CPLErrorNum  nError,
const char *  pszErrorMsg 
)

Callback used in GDAL for handling GDAL errors.

Parameters
[in]eErrClassthe error class.
[in]nErrorthe error number.
[in]pszErrorMsgthe error message.