Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PrismaException"/> class.
 /// </summary>
 /// <param name="error">The code of the error that caused the exception.</param>
 /// <param name="message">The message that describes the error.</param>
 /// <param name="innerException">The inner exception.</param>
 public PrismaException(PrismaError error, string message, Exception innerException)
     : base(message, innerException)
 {
     this.ErrorCode = error;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PrismaException"/> class.
 /// </summary>
 /// <param name="error">The code of the error that caused the exception.</param>
 /// <param name="message">The message that describes the error.</param>
 public PrismaException(PrismaError error, string message)
     : base(message)
 {
     this.ErrorCode = error;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PrismaException"/> class.
 /// </summary>
 /// <param name="message">The message that describes the error.</param>
 /// <param name="innerException">The inner exception.</param>
 public PrismaException(string message, Exception innerException)
     : base(message, innerException)
 {
     this.ErrorCode = PrismaError.Unspecified;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PrismaException"/> class.
 /// </summary>
 /// <param name="error">The code of the error that caused the exception.</param>
 public PrismaException(PrismaError error)
     : base()
 {
     this.ErrorCode = error;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PrismaException"/> class.
 /// </summary>
 public PrismaException()
     : base()
 {
     this.ErrorCode = PrismaError.Unspecified;
 }