Class ProverCrashedException

All Implemented Interfaces:
Serializable

public class ProverCrashedException extends ATPException
Exception thrown when an ATP process crashes or is killed by a signal. This typically indicates either: - A malformed input formula that caused a segmentation fault - Memory exhaustion leading to OOM killer - External termination of the process
See Also:
  • Field Details

  • Constructor Details

    • ProverCrashedException

      public ProverCrashedException(String engineName, int exitCode, List<String> stdout, List<String> stderr, ATPResult result)
      Create a new ProverCrashedException
      Parameters:
      engineName - The name of the prover
      exitCode - The process exit code
      stdout - The captured stdout lines (may be partial)
      stderr - The captured stderr lines (may be partial)
    • ProverCrashedException

      public ProverCrashedException(String engineName, int exitCode)
      Create a new ProverCrashedException with just exit code
  • Method Details

    • getExitCode

      public int getExitCode()
      Returns:
      The process exit code
    • getSignalName

      public String getSignalName()
      Returns:
      The signal name if killed by signal, null otherwise
    • getSignalNumber

      public int getSignalNumber()
      Returns:
      The signal number if killed by signal, -1 otherwise
    • wasKilledBySignal

      public boolean wasKilledBySignal()
      Returns:
      true if the process was killed by a signal
    • wasSegmentationFault

      public boolean wasSegmentationFault()
      Returns:
      true if this was a segmentation fault
    • wasAborted

      public boolean wasAborted()
      Returns:
      true if this was an abort (often assertion failure)
    • wasForciblyStopped

      public boolean wasForciblyStopped()
      Returns:
      true if the process was forcibly killed (SIGKILL/SIGTERM)
    • wasCpuLimitExceeded

      public boolean wasCpuLimitExceeded()
      Returns:
      true if CPU time limit was exceeded
    • getSuggestion

      public String getSuggestion()
      Description copied from class: ATPException
      Get a suggestion for how to resolve this error. Subclasses should override with more specific suggestions.
      Overrides:
      getSuggestion in class ATPException
      Returns:
      Suggestion text for the user
    • getDetailedMessage

      public String getDetailedMessage()
      Description copied from class: ATPException
      Generate a detailed, human-readable error message including context.
      Overrides:
      getDetailedMessage in class ATPException
      Returns:
      Detailed message suitable for display in UI