public Exception ToException() { return new Exception(string.Format("APIException:{0}", this.Message)); }//end method