Files
spring-boot-rest/xstream/src/test/java/com/baeldung/rce/AttackExploitedExceptionThrower.java
2019-06-30 22:37:16 -04:00

14 lines
367 B
Java

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();
}
}