Class InvalidFormatException
- Namespace
- adas_core.Application.Exceptions
- Assembly
- adas-core.Application.dll
Represents the exception that is thrown when data is encountered in a format that is not valid or expected.
public class InvalidFormatException : Exception, ISerializable
- Inheritance
-
InvalidFormatException
- Implements
- Inherited Members
- Extension Methods
Constructors
InvalidFormatException(string)
Initializes a new instance of the InvalidFormatException class with a specified error message.
public InvalidFormatException(string message)
Parameters
messagestringThe error message that describes the reason for the exception.
InvalidFormatException(ErrorMessage)
Initializes a new instance of the InvalidFormatException class with a specified error message.
public InvalidFormatException(HttpEnum.ErrorMessage message)
Parameters
messageHttpEnum.ErrorMessageThe error message that describes the reason for the exception.