Class TransletInstantiationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TransletInstantiationException
    extends TransletException
    Exception thrown when instantiation of a translet failed.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TransletInstantiationException​(java.lang.Class<? extends Translet> transletInterfaceClass, java.lang.Class<? extends CoreTranslet> transletImplementationClass, java.lang.Throwable cause)
      Create a new TransletInstantiationException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends CoreTranslet> getTransletImplementationClass()
      Returns the translet implementation class.
      java.lang.Class<? extends Translet> getTransletInterfaceClass()
      Returns the translet interface class.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TransletInstantiationException

        public TransletInstantiationException​(java.lang.Class<? extends Translet> transletInterfaceClass,
                                              java.lang.Class<? extends CoreTranslet> transletImplementationClass,
                                              java.lang.Throwable cause)
        Create a new TransletInstantiationException.
        Parameters:
        transletInterfaceClass - the translet interface class
        transletImplementationClass - the translet implement class
        cause - the root cause
    • Method Detail

      • getTransletInterfaceClass

        public java.lang.Class<? extends Translet> getTransletInterfaceClass()
        Returns the translet interface class.
        Returns:
        the translet interface class
      • getTransletImplementationClass

        public java.lang.Class<? extends CoreTranslet> getTransletImplementationClass()
        Returns the translet implementation class.
        Returns:
        the translet implementation class