### IEntityInvalid

  IEntityInvalid is an exception that indicates that an operation was attempted on an invalid IFileSystemEntity. This exception is thrown when there is an attempt to perform an operation on an IFileSystemEntity object which does not point to a valid on-disk entity.

### IEntityInvalid - Member Functions and Data by Group

### Constructors & Destructor

You can construct and destruct objects of this class. You cannot assign one IEntityInvalid object from another.

~IEntityInvalid
  Destructor.

      public:
      virtual ~IEntityInvalid()

  Delete the exception.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

IEntityInvalid

  You can create objects of this class by doing the following:

  - Using the constructor where you specify the error text.
  - Using the macros discussed in IException. The Open Class Library provides these macros to make creating exceptions easier for you.

  You can also copy an instance of this exception class.

  Overload 1
  Copy constructor.

      public:
      IEntityInvalid(const IEntityInvalid&)

  The copy constructor is provided so that the compiler can make copies of the object during the throwing of an exception.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 2
  Constructor.

      public:
      IEntityInvalid(const char* text = 0)

  This function constructs an exception with the given message text.

  text
    The error message text to use for this exception. If no text is specified, the default text is loaded from the appropriate localized message file.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Accessing the Type

Use these members to determine the name (type) of the exception. This is used for logging out an exception object's error information.

name
  Get class name.

      public:
      virtual const char* name() const

  Get the name of the object's class.

Return
  name returns a const character pointer.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### IEntityInvalid - Inherited Member Functions and Data

#### Inherited Public Functions

  IException

  -     virtual ~IException()

  -     virtual IException&
          addLocation( const IExceptionLocation& location )

  -     IException& appendText(const char* errorText)

  -     static void
          assertParameter( const char* exceptionText,
                           IExceptionLocation location )

  -     ErrorCodeGroup errorCodeGroup() const

  -     unsigned long errorId() const

  -     IException(const IException& exception)

  -     IException( const char* errorText,
                    unsigned long errorId = 0,
                    Severity severity = IException::unrecoverable )

  -     virtual int isRecoverable() const

  -     const IExceptionLocation*
          locationAtIndex( unsigned long locationIndex ) const

  -     unsigned long locationCount() const

  -     virtual IException& logExceptionData()

  -     IException& setErrorCodeGroup(ErrorCodeGroup errorGroup)

  -     IException& setErrorId(unsigned long errorId)

  -     IException& setSeverity(Severity severity)

  -     IException& setText(const char* errorText)

  -     static IException::TraceFn*
          setTraceFunction( IException::TraceFn& traceFunction )

  -     virtual void terminate()

  -     const char* text(unsigned long indexFromTop = 0) const

  -     unsigned long textCount() const

  IInvalidParameter

  -     virtual ~IInvalidParameter()

  -     IInvalidParameter(const IInvalidParameter& exception)

  -     IInvalidParameter( const char* errorText,
                           unsigned long errorId = 0,
                           Severity severity = IException::unrecoverable )

#### Inherited Public Data

  IException

  -     static ErrorCodeGroup const baseLibrary

  -     static ErrorCodeGroup const CLibrary

  -     static ErrorCodeGroup const operatingSystem

  -     static ErrorCodeGroup const other

  -     static ErrorCodeGroup const presentationSystem

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None