com.aspose.ocr

## Class OcrException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - com.aspose.ocr.OcrException

- All Implemented Interfaces:
    Serializable

      public final class OcrException
      extends RuntimeException

  This exception indicates an exception while working with OCR module.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OcrException(String message)` Create this exception with the given message.
    `OcrException(String message, Throwable cause)` Create this exception with the given message and underlying 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

    - #### OcrException

          public OcrException(String message)

      Create this exception with the given message.

      Parameters:
        `message` - The message of this exception.

    - #### OcrException

          public OcrException(String message,
                      Throwable cause)

      Create this exception with the given message and underlying cause.

      Parameters:
        `message` - The message of this exception.
        `cause` - The underlying exception.

Copyright © 2014. All rights reserved.