Package com.piketec.tpt.api.util
Class DeprecatedAndRemovedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.piketec.tpt.api.util.DeprecatedAndRemovedException
-
- All Implemented Interfaces:
java.io.Serializable
public class DeprecatedAndRemovedException extends java.lang.RuntimeException
This exception is thrown from methods that are deprecated and supposed to be removed, but still exist as empty, non-functional stub methods. Such methods were not removed from the API, since they are used by customers not only from Java processes but also from Jython scripts (e.g., the API Script view or pre/post scripts of platforms and execution configs), where they would lead to runtime errors that are difficult to understand (due to the lack of a compiler in Jython). So, we throw this exception instead that will lead to better understandable messages.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeprecatedAndRemovedException(java.lang.String fullQualifiedName, int tptversion)
Constructs a new DeprecatedAndRemovedException with the specified details.
-
-
-
Constructor Detail
-
DeprecatedAndRemovedException
public DeprecatedAndRemovedException(java.lang.String fullQualifiedName, int tptversion)
Constructs a new DeprecatedAndRemovedException with the specified details.- Parameters:
fullQualifiedName
- The method that has been removedtptversion
- The TPT version it has been removed
-
-