Class AbortException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ortus.boxlang.runtime.types.exceptions.AbortException
All Implemented Interfaces:
Serializable

public class AbortException extends RuntimeException
This represents the abort component in BoxLang
See Also:
  • Field Details

  • Constructor Details

    • AbortException

      public AbortException()
      Constructor
    • AbortException

      public AbortException(String type, Throwable cause)
      Constructor
      Parameters:
      type - The type
      cause - The cause
  • Method Details

    • isRequest

      public Boolean isRequest()
      Is this abort type request?
      Returns:
      Whether this abort affects the request
    • isPage

      public Boolean isPage()
      Is this abort type page?
      Returns:
      Whether this abort affects the page
    • isTag

      public Boolean isTag()
      Is this abort type tag? Use with exit component.
      Returns:
      Whether this abort affects the tag
    • isTemplate

      public Boolean isTemplate()
      Is this abort type template? Use with exit component.
      Returns:
      Whether this abort affects the template
    • isLoop

      public Boolean isLoop()
      Is this abort type loop? Use with exit component.
      Returns:
      Whether this abort affects the loop