Class ServiceException
Abstract class representing service errors
public class ServiceException : PnPException, ISerializable
- Inheritance
-
ServiceException
- Implements
- Derived
- Inherited Members
Constructors
ServiceException()
Creates a service request exception
public ServiceException()
ServiceException(ErrorType, int, string)
Creates a service request exception
public ServiceException(ErrorType type, int httpResponseCode, string message)
Parameters
typeErrorTypeError type
httpResponseCodeintHttp response code of the service request that got an error back
messagestringException message
ServiceException(string)
Creates a service request exception
public ServiceException(string message)
Parameters
messagestringException message
ServiceException(string, Exception)
Creates a service request exception
public ServiceException(string message, Exception innerException)
Parameters
messagestringException message
innerExceptionExceptionInner exception to be linked to this ServiceException