WrongSchemaException

This exception is triggered if the logged on user attempts to create a data object underneath another data object which is not permitted according to child schema definition.

In the schema managementit is defined, for the data objects, which schema may be followed by data objects underneath. This is defined in the child schemas for a schema.

If it is now attempted to create a data object underneath another data object that does not follow an accordingly defined schema, then this exception is triggered. The same applies when moving data objects.

Extends: System.ApplicationException

Constructors

ConstructorDescription
WrongSchemaException(String, Int32, String)

Initialises a new instance of the WrongSchemaException class with an error message.

WrongSchemaException(Int32)

Initialises a new instance of the WrongSchemaException class with an error message.

Properties

PropertyDescription
Data:IDictionary

Calls a listing of key value pairs providing additional user-defined information about the exception.

(Inherited by System.Exception)

HelpLink:String

Calls a link to the help file assigned to this exception, or specifies a link.

(Inherited by System.Exception)

InnerException:Exception

Calls the exception instance that caused the current exception.

(Inherited by System.Exception)

Location:String

Supplies the name of the schema that not has not been defined as a child schema.

Message:String

Calls a message which describes the current exception.

(Inherited by System.Exception)

Source:String

Returns the name of the application or object that caused the error, or specifies this name.

(Inherited by System.Exception)

SourceObjectIdentity:Int32

Supplies the Id of the data object that should be moved or created under another data object.

StackTrace:String

Gets a string representation of the immediate frames in the call stack.

(Inherited by System.Exception)

TargetSchemaIdentity:Int32

Supplies the Id of the schema that should have defined the child schema.

TargetSite:MethodBase

Calls the method that triggers the current exception.

(Inherited by System.Exception)

Methods

MethodDescription
Equals(Object):Boolean

Determines whether the indicated object is identical to the current object.

(Inherited by System.Object)

GetBaseException():Exception

Returns, when overwriting in a derived class, an exception which is the original cause for one or more subsequent exceptions.

(Inherited by System.Exception)

GetHashCode():Int32

Functions as the standard hash function.

(Inherited by System.Object)

GetObjectData(SerializationInfo, StreamingContext):Void

Specifies the SerializationInfo with information about the exception when overwriting in a derived class.

(Inherited by System.Exception)

GetType():Type

Calls the runtime type of the current instance.

(Inherited by System.Exception)

ToString():String

Creates a string equivalent of the current exception and returns this.

(Inherited by System.Exception)