user56641: I'm using a port of the STL found here and trying to debug with a simple try{...}catch{...} loop. When compiling with the Arduino IDE, I get the error message 

exception handling disabled, use -fexceptions to enable.

I'm not quite sure what this means. Can the Arduino simply not support exceptions? Or is -fexceptions a compiler flag I can enable?

user359: Arduino is a very limited platform, and handling exceptions requires quite a bit of hidden code to properly unwind the stack wherever the exception occurs. 
So the default is to turn it off and teach users to not use exceptions in arduino and instead other type of error handling.

user30175: As you have already found out, add -fexceptions to the compiler flags. This can be done by modifying the platform.txt of your Arduino IDE installation. 
See https://github.com/arduino/ArduinoCore-avr/blob/master/platform.txt#L28. There is -fno-exceptions defined, so you have to remove that, too.

56641: <p>I'm using a port of the STL found <a href="https://github.com/mike-matera/ArduinoSTL" rel="nofollow noreferrer">here</a> and trying to debug with a simple <code>try{...}catch{...}</code> loop. When compiling with the Arduino IDE, I get the error message </p>

<blockquote>
  <p>exception handling disabled, use -fexceptions to enable.</p>
</blockquote>

<p>I'm not quite sure what this means. Can the Arduino simply not support exceptions? Or is <code>-fexceptions</code> a compiler flag I can enable?</p>
 359: <p>Arduino is a very limited platform, and handling exceptions requires quite a bit of hidden code to properly unwind the stack wherever the exception occurs. </p>

<p>So the default is to turn it off and teach users to not use exceptions in arduino and instead other type of error handling.</p>
 30175: <p>As you have already found out, add <code>-fexceptions</code> to the compiler flags. This can be done by modifying the <code>platform.txt</code> of your Arduino IDE installation. </p>

<p>See <a href="https://github.com/arduino/ArduinoCore-avr/blob/master/platform.txt#L28" rel="noreferrer">https://github.com/arduino/ArduinoCore-avr/blob/master/platform.txt#L28</a>. There is <code>-fno-exceptions</code> defined, so you have to remove that, too.</p>
