Class SsrfProtection.BlockedDestinationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
pl.edu.icm.unity.engine.api.files.SsrfProtection.BlockedDestinationException
All Implemented Interfaces:
Serializable
Enclosing class:
SsrfProtection

public static class SsrfProtection.BlockedDestinationException extends IOException
Thrown specifically when a destination was resolved and rejected as internal/non-public - as opposed to other IOExceptions this method throws (unsupported scheme, unresolvable host), which are not themselves indicative of an SSRF attempt. Callers can catch this type to give SSRF blocks distinct, more visible logging than ordinary network failures.
See Also:
  • Constructor Details

    • BlockedDestinationException

      public BlockedDestinationException(String message)