package com.baeldung.rce; /** * Class which contains an action to throw {@link AttackExploitedException}. * This helper is used by {@link AppTest} to determine when the remote code * exploit has taken place. */ final class AttackExploitedExceptionThrower { public void throwAttackExploitedException() { throw new AttackExploitedException(); } }