Class StoreWriteException

All Implemented Interfaces:
Serializable

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class StoreWriteException extends IllegalStateException
D-72b (2), security-35 S-35-03: an entity could not be written (an I/O failure, or content the XML writer refused). Nothing was stored: the previous file, if any, is unchanged and the temporary file of the attempt is deleted. It is an IllegalStateException, so the web layer, which already answers a service's IllegalArgumentException and IllegalStateException with a refusal message on the form, shows it the same way instead of an error page; Throwable.getMessage() is meant for the user.
See Also:
  • Constructor Details

    • StoreWriteException

      public StoreWriteException(String message, Throwable cause)