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