Package ghidra.app.util.bin.format.macho

# Class MachException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ghidra.app.util.bin.format.macho.MachException

All Implemented Interfaces:
  `Serializable`

Direct Known Subclasses:
  `ObsoleteException`

public class MachException extends Exception
An exception class to handle encountering invalid Mach-O Headers.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MachException(Exception cause)`
  Constructs a new exception with the specified cause and a detail message.
  `MachException(String message)`
  Constructs a new exception with the specified detail message.

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### MachException

    public MachException(String message)
    Constructs a new exception with the specified detail message.
    Parameters:
      `message` - the detail message.

  - ### MachException

    public MachException(Exception cause)
    Constructs a new exception with the specified cause and a detail message.
    Parameters:
      `cause` - the cause (which is saved for later retrieval by the method