Add boost exception.