internal void ErrorParsingField(VRMLReaderError error, Exception reason) { WriteWarning(VRMLReaderException.VRMLReaderErrorToMessageString(error, line)); if (reason != null) { WriteWarning("Reason: " + reason.ToString()); } throw new VRMLReaderException(error, reason, line); }
void ErrorUnexpectedEndOfStream() { WriteWarning(VRMLReaderException.VRMLReaderErrorToMessageString(VRMLReaderError.UnexpectedEndOfStream, line)); throw new VRMLReaderException(VRMLReaderError.UnexpectedEndOfStream, line); }