Add ARCANE_LIBRARY_EXPORT for exception classes.