Class ExceptionThrowerParams


  • public class ExceptionThrowerParams
    extends Object
    • Constructor Detail

      • ExceptionThrowerParams

        public ExceptionThrowerParams​(ExceptionType exceptionType,
                                      int exceptionChance)
        Parameters:
        exceptionChance - 0-100, default is 100 and means always throw.
    • Method Detail

      • getExceptionChance

        public int getExceptionChance()