org.grinvin.invariants

Class IllegalInvariantComputerException


public class IllegalInvariantComputerException
extends Exception

Indicates that an invariant computer or invariant factory computer could not be retreived or instantiated

Constructor Summary

IllegalInvariantComputerException(String message, String id)
Construct an exception of this type
IllegalInvariantComputerException(String message, String id, Throwable cause)
Construct an exception of this type

Method Summary

String
getId()
The identifier of the invariant computer (factory) which caused the error.

Constructor Details

IllegalInvariantComputerException

public IllegalInvariantComputerException(String message,
                                         String id)
Construct an exception of this type
Parameters:
message - Error message
id - ID of the invariant computer for which this exception was thrown

IllegalInvariantComputerException

public IllegalInvariantComputerException(String message,
                                         String id,
                                         Throwable cause)
Construct an exception of this type
Parameters:
message - Error message
id - ID of the invariant computer for which this exception was thrown
cause - Underlying cause

Method Details

getId

public String getId()
The identifier of the invariant computer (factory) which caused the error.