Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.util
Class RecordFormatException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.apache.poi.util.RecordFormatException

All Implemented Interfaces:
  java.io.Serializable

Direct Known Subclasses:
  InternalSheet.UnsupportedBOFType

    public class RecordFormatException

extends java.lang.RuntimeException

A common exception thrown by our binary format parsers (especially HSSF and DDF), when they hit invalid format or data when processing a record.

See Also:
  Serialized Form

Constructor Summary
`RecordFormatException(java.lang.String exception)`
`RecordFormatException(java.lang.String exception, java.lang.Throwable thr)`
`RecordFormatException(java.lang.Throwable thr)`

Method Summary
`static void` | `check(boolean assertTrue, java.lang.String message)` Syntactic sugar to check whether a RecordFormatException should be thrown.

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

### RecordFormatException

    public RecordFormatException(java.lang.String exception)

### RecordFormatException

    public RecordFormatException(java.lang.String exception,
                                 java.lang.Throwable thr)

### RecordFormatException

    public RecordFormatException(java.lang.Throwable thr)

Method Detail

### check

    public static void check(boolean assertTrue,
                             java.lang.String message)

  Syntactic sugar to check whether a RecordFormatException should be thrown. If assertTrue is `false`, this will throw this exception with the message.

  Parameters:
    `assertTrue` -
    `message` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.