mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 15:57:42 +00:00
18 lines
397 B
Java
18 lines
397 B
Java
package codechicken.lib.vec;
|
|||
|
|
|
||
|
|
@SuppressWarnings("serial")
|
||
|
|
public class IrreversibleTransformationException extends RuntimeException
|
||
|
|
{
|
||
|
|
public Transformation t;
|
||
|
|
|
||
|
|
public IrreversibleTransformationException(Transformation t)
|
||
|
|
{
|
||
|
|
this.t = t;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String getMessage()
|
||
|
|
{
|
||
|
|
return "The following transformation is irreversible:\n"+t;
|
||
|
|
}
|
||
|
|
}
|