Changed some exception throwing on network/parse errors