Beispiel #1
0
 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);
 }
Beispiel #2
0
 void ErrorUnexpectedEndOfStream()
 {
     WriteWarning(VRMLReaderException.VRMLReaderErrorToMessageString(VRMLReaderError.UnexpectedEndOfStream, line));
     throw new VRMLReaderException(VRMLReaderError.UnexpectedEndOfStream, line);
 }