Class ExitStatusException

java.lang.Object
java.lang.Throwable
java.lang.Exception
rife.bld.operations.exceptions.ExitStatusException
All Implemented Interfaces:
Serializable

public class ExitStatusException extends Exception
When thrown, indicates that the exit status has changed due to the operation execution.
Since:
1.5
See Also:
  • Field Details

  • Constructor Details

    • ExitStatusException

      public ExitStatusException(int exitStatus)
  • Method Details

    • getExitStatus

      public int getExitStatus()
    • throwOnFailure

      public static void throwOnFailure(int status) throws ExitStatusException
      Throws an ExitStatusException when the status is a failure.
      Parameters:
      status - the status to check
      Throws:
      ExitStatusException - when the provided status is different from EXIT_SUCCESS
      Since:
      1.5.7