Class SoIllegalOperationException
Exception thrown when an illegal operation has been requested
Implements
Inherited Members
Namespace: SuperOffice.Exceptions
Assembly: SoCore.dll
Syntax
public class SoIllegalOperationException : SoException, ISerializable
Constructors
SoIllegalOperationException(string, bool)
Default constructor.
Declaration
public SoIllegalOperationException(string message, bool logAsException = true)
Parameters
Type | Name | Description |
---|---|---|
string | message | Error message. |
bool | logAsException |
SoIllegalOperationException(string, Exception)
Default constructor.
Declaration
public SoIllegalOperationException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | Error message. |
Exception | innerException | Inner exception. |
SoIllegalOperationException(string, Exception, string)
Default constructor.
Declaration
public SoIllegalOperationException(string message, Exception innerException, string friendlyText)
Parameters
Type | Name | Description |
---|---|---|
string | message | Error message. |
Exception | innerException | Inner exception. |
string | friendlyText | Optional friendly error message that may be displayed to the user. |
SoIllegalOperationException(string, string)
Default constructor.
Declaration
public SoIllegalOperationException(string message, string friendlyText)
Parameters
Type | Name | Description |
---|---|---|
string | message | Error message. |
string | friendlyText | Optional friendly error message that may be displayed to the user. |