Add const.
Update exception class.

Change namespace core => exception.
Add getDetail().
Update libswo.