private void throwException( String additionalMsg ) {
        StringBuilder caret = new StringBuilder();

        for ( int i = 0; i < tokenizer.getCol(); i++ ) {
            caret.append( " " );
        }

        caret.append( "^" );
        throw new IllegalArgumentException( "\nError in file: " + fileName + " on line:" + tokenizer.getRow()
                + " at col:" + tokenizer.getCol() + ".\n" + additionalMsg + "\n" + tokenizer.getLine() + " \n"
                + caret.toString() );
    }