ParserInitializationException
Date: 2016-06-23

org.apache.commons.net.ftp.parser

## Class ParserInitializationException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.commons.net.ftp.parser.ParserInitializationException

- All Implemented Interfaces:
    java.io.Serializable

      public class ParserInitializationException
      extends java.lang.RuntimeException

  This class encapsulates all errors that may be thrown by the process of an FTPFileEntryParserFactory creating and instantiating an FTPFileEntryParser.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParserInitializationException(java.lang.String message)` Constucts a ParserInitializationException with just a message
    `ParserInitializationException(java.lang.String message, java.lang.Throwable rootCause)` Constucts a ParserInitializationException with a message and a root cause.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Throwable` | `getRootCause()` Deprecated. use `Throwable.getCause()` instead

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

    - #### ParserInitializationException

          public ParserInitializationException(java.lang.String message)

      Constucts a ParserInitializationException with just a message
      Parameters:
        `message` - Exception message

    - #### ParserInitializationException

          public ParserInitializationException(java.lang.String message,
                                       java.lang.Throwable rootCause)

      Constucts a ParserInitializationException with a message and a root cause.
      Parameters:
        `message` - Exception message
        `rootCause` - root cause throwable that caused this to be thrown

  - ### Method Detail

    - #### getRootCause

          @Deprecated
          public java.lang.Throwable getRootCause()

      Deprecated. use `Throwable.getCause()` instead
      returns the root cause of this exception or null if no root cause was specified.
      Returns:
        the root cause of this exception being thrown