package com.github.sbugat.nqueens.tools;

public class InvalidSolutionsException extends Exception {

	private static final long serialVersionUID = -2918035232656432720L;

	private final long solutionFound;

	private final long solutionExpected;

	private final int puzzleSize;

	public InvalidSolutionsException(final long solutionFoundArg, final long solutionExpectedArg, final int puzzleSizeArg) {

		solutionFound = solutionFoundArg;
		solutionExpected = solutionExpectedArg;
		puzzleSize = puzzleSizeArg;
	}

}

@@ -507,10 +507,172 @@
 rg;%0A%09%7D%0A%0A
+%09@Override%0A%09public String toString() %7B%0A%09%09return solutionFound + %22 solutions found, expected: %22 + solutionExpected + %22 for a chessboard of size %22 + puzzleSize;%0A%09%7D%0A
 %7D%0A

Add exception toString