Class PreviewAccessException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.craftercms.core.exception.CrafterException
org.craftercms.engine.exception.HttpStatusCodeException
org.craftercms.engine.exception.PreviewAccessException
All Implemented Interfaces:
Serializable, HttpStatusCodeAwareException

public class PreviewAccessException extends HttpStatusCodeException
Exception thrown when the user is not authorized to preview the site.
See Also:
  • Constructor Details

    • PreviewAccessException

      public PreviewAccessException(org.springframework.http.HttpStatus status, String message)