Package ghidra.app.util.bin.format.ubi

# Class UbiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ghidra.app.util.bin.format.ubi.UbiException

All Implemented Interfaces:
  `Serializable`

public class UbiException extends Exception
An exception class to handle encountering invalid UBI Headers.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UbiException(Exception cause)`
  Constructs a new exception with the specified cause and a detail message.
  `UbiException(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

  - ### UbiException

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

  - ### UbiException

    public UbiException(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