Class ExceptionMethod.ConstructionDelegate.ForStringConstructor

    • Constructor Detail

      • ForStringConstructor

        public ForStringConstructor​(TypeDescription exceptionType,
                                    java.lang.String message)
        Creates a new construction delegate that calls a constructor by handing it the given string.
        Parameters:
        exceptionType - The type of the isThrowable.
        message - The string that is handed to the constructor.