Class BOMException

All Implemented Interfaces:
Serializable

public final class BOMException extends IOException
Thrown to indicate that an incorrect byte order mark, or BOM for short, has been detected.
See Also:
  • Constructor Details

    • BOMException

      public BOMException()
      Constructs a BOMException with null as its error detail message.
    • BOMException

      public BOMException(String s)
      Constructs a BOMException with the specified detail message. The string s can be retrieved later by the Throwable.getMessage() method of class java.lang.Throwable.
      Parameters:
      s - the detail message.