Class ExceptionMethod.ConstructionDelegate.ForStringConstructor

    • Constructor Detail

      • ForStringConstructor

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