Class CategoryLevelsException
Can only have three levels of categories. If more levels are found this exception will be thrown
Namespace: ImageVault.Core.Common.Exceptions
Assembly: ImageVault.Core.dll
Syntax
public class CategoryLevelsException : ImageVaultCoreException
Constructors
CategoryLevelsException()
Initializes a new instance of the CategoryLevelsException class.
Declaration
public CategoryLevelsException()
CategoryLevelsException(SerializationInfo, StreamingContext)
Initializes a new instance of the CategoryLevelsException class with serialized data.
Declaration
public CategoryLevelsException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
CategoryLevelsException(String)
Initializes a new instance of the CategoryLevelsException class with a specified error message.
Declaration
public CategoryLevelsException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | a message that describes the exception |
CategoryLevelsException(String, Exception)
Initializes a new instance of the CategoryLevelsException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public CategoryLevelsException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | a message that describes the exception |
System.Exception | innerException | The exception that caused this exception |
CategoryLevelsException(String, Object[])
Initializes a new instance of the CategoryLevelsException class with a specified formatted error message.
Declaration
public CategoryLevelsException(string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | A System.String containing zero or more format items. |
System.Object[] | args | An System.Object array containing zero or more objects to format. |