loci.formats

## Class FormatException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - loci.formats.FormatException

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    CacheException, MissingLibraryException, UnknownFormatException, UnsupportedCompressionException

      public class FormatException
      extends java.lang.Exception

  FormatException is the exception thrown when something goes wrong performing a file format operation.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FormatException()`
    `FormatException(java.lang.String s)`
    `FormatException(java.lang.String s, java.lang.Throwable cause)`
    `FormatException(java.lang.Throwable cause)`

  - ### 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 Detail

    - #### FormatException

          public FormatException()

    - #### FormatException

          public FormatException(java.lang.String s)

    - #### FormatException

          public FormatException(java.lang.String s,
                                 java.lang.Throwable cause)

    - #### FormatException

          public FormatException(java.lang.Throwable cause)

Copyright © 2026 Open Microscopy Environment