Exemplo n.º 1
0
 /// <summary>
 /// Creates a new reader
 /// </summary>
 /// <param name="stream"></param>
 /// <param name="errorLevel"></param>
 public FbxAsciiReader(Stream stream, ErrorLevel errorLevel = ErrorLevel.Checked)
 {
     _fbxAsciiFileInfo = new FbxAsciiFileInfo(stream ?? throw new ArgumentNullException(nameof(stream)));
     _errorLevel       = errorLevel;
     _tokenStack       = new Stack <Token>();
 }
Exemplo n.º 2
0
 /// <summary>
 /// An error in a text file
 /// </summary>
 /// <param name="line"></param>
 /// <param name="column"></param>
 /// <param name="message"></param>
 public FbxException(FbxAsciiFileInfo fbxAsciiFileInfo, string message) :
     base($"{message}, near line {fbxAsciiFileInfo.Line} column {fbxAsciiFileInfo.Column}")
 {
 }