Skip to main content

Class ExceptionFactory

Namespace: Aurigma.DesignAtoms.Exceptions​
Assembly: Aurigma.DesignAtoms.Model.dll​
Syntax
public static class ExceptionFactory

Inheritance: System.Object -> ExceptionFactory

Inherited Members​

  • System.Object.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Methods​

ItemBelongsCollection​

public static ArgumentException ItemBelongsCollection()
Returns​

System.ArgumentException

CanvasInLayerCollectionIsNull​

public static ArgumentException CanvasInLayerCollectionIsNull()
Returns​

System.ArgumentException

LayerInObjectCollectionIsNull​

public static ArgumentNullException LayerInObjectCollectionIsNull()
Returns​

System.ArgumentNullException

CollectionSetterNotSupported​

public static NotSupportedException CollectionSetterNotSupported()
Returns​

System.NotSupportedException

BadRequest​

public static WebException BadRequest(string url, Exception ex)
Parameters​
TypeNameDescription
System.Stringurl
System.Exceptionex
Returns​

System.Net.WebException

SourceFormat​

public static InvalidOperationException SourceFormat(Exception ex)
Parameters​
TypeNameDescription
System.Exceptionex
Returns​

System.InvalidOperationException

DownloadDeny​

public static ApplicationException DownloadDeny()
Returns​

System.ApplicationException

ImageFileNotFound​

public static FileNotFoundException ImageFileNotFound(string fileName)
Parameters​
TypeNameDescription
System.StringfileName
Returns​

System.IO.FileNotFoundException

CanNotDownloadImage​

public static ApplicationException CanNotDownloadImage(string url, Exception innerException)
Parameters​
TypeNameDescription
System.Stringurl
System.ExceptioninnerException
Returns​

System.ApplicationException

CanNotDrawImageByUrl​

public static InvalidOperationException CanNotDrawImageByUrl()
Returns​

System.InvalidOperationException

NotSupportedException​

public static NotSupportedException NotSupportedException()
Returns​

System.NotSupportedException

ArgumentNullException​

public static ArgumentNullException ArgumentNullException()
Returns​

System.ArgumentNullException

ArgumentOutOfRangeException​

public static ArgumentOutOfRangeException ArgumentOutOfRangeException(string paramName)
Parameters​
TypeNameDescription
System.StringparamName
Returns​

System.ArgumentOutOfRangeException

BlendModeNotSupported​

public static BlendModeNotSupportedException BlendModeNotSupported(BlendMode psdBlendMode)
Parameters​
TypeNameDescription
Aurigma.DesignAtoms.Model.BlendModepsdBlendMode
Returns​

Aurigma.DesignAtoms.Exceptions.BlendModeNotSupportedException

Was this page helpful?