Skip to content
Permalink
2f06aea398
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
25 lines (20 sloc) 431 Bytes
package minimization;
public class DebugException extends Exception
{
//Exception used for debug and testing purposes.
//Specifically, used for depth test
private final Integer maxDepth;
public DebugException (String message, Integer maxDepth)
{
super(message);
this.maxDepth = maxDepth;
}
public DebugException (String message)
{
this(message, null);
}
public int getDepth()
{
return maxDepth;
}
}