Files
CodeChickenCore/codechicken/lib/vec/IrreversibleTransformationException.java
T

18 lines
399 B
Java
Raw Normal View History

2013-07-16 17:58:02 +10:00
package codechicken.lib.vec;
@SuppressWarnings("serial")
public class IrreversibleTransformationException extends RuntimeException
{
2014-04-07 14:02:47 +10:00
public ITransformation t;
2013-07-16 17:58:02 +10:00
2014-04-07 14:02:47 +10:00
public IrreversibleTransformationException(ITransformation t)
2013-07-16 17:58:02 +10:00
{
this.t = t;
}
@Override
public String getMessage()
{
return "The following transformation is irreversible:\n"+t;
}
}