dist/yaml.legacy.js
function(message, parsedLine, snippet, parsedFile){

		this.rawMessage = message;
		this.parsedLine = (parsedLine !== undefined) ? parsedLine : -1;
		this.snippet = (snippet !== undefined) ? snippet : null;
		this.parsedFile = (parsedFile !== undefined) ? parsedFile : null;

		this.updateRepr();
		
		this.message = message;

}
function(message, parsedLine, snippet, parsedFile){

		this.rawMessage = message;
		this.parsedLine = (parsedLine !== undefined) ? parsedLine : -1;
		this.snippet = (snippet !== undefined) ? snippet : null;
		this.parsedFile = (parsedFile !== undefined) ? parsedFile : null;

		this.updateRepr();
		
		this.message = message;

}
function ( message , parsedLine , snippet , parsedFile ) { this . rawMessage = message ; this . parsedLine = ( parsedLine !== undefined ) ? parsedLine : - 1 ; this . snippet = ( snippet !== undefined ) ? snippet : null ; this . parsedFile = ( parsedFile !== undefined ) ? parsedFile : null ; this . updateRepr ( ) ; this . message = message ; }
Exception class thrown when an error occurs during parsing.

@author Fabien Potencier <fabien@symfony.com>

@api
 
Constructor.

@param string	message	The error message
@param integer   parsedLine The line where the error occurred
@param integer   snippet	The snippet of code near the problem
@param string	parsedFile The file name where the error occurred
Exception class thrown when an error occurs during parsing .