Add throw Exception to unmarshal method