001package Torello.Java;
002
003/**
004 * Thrown when an attempt is made to re-use a {@link VarType} (implemented by class {@link RTC})
005 * which hasn't been configured to be reusable.
006 */
007public class VarTypeAlreadyUsedException extends RuntimeException 
008{
009    /** <EMBED CLASS='external-html' DATA-FILE-ID=SVUIDEX> */
010    protected static final long serialVersionUID = 1;
011
012    /** Class only constructor. */
013    public VarTypeAlreadyUsedException()
014    { 
015        super(
016            "Attempt to reuse an already cashed VarType instance.  VarType's must be " +
017            "reconstructed each time they are used, unless they have been contructed to " +
018            "support re-usability."
019        );
020    }
021}