Пример #1
0
 /// <param name="service">The service triggering the exception.</param>
 /// <param name="entry">The duplicate or invalid address book entry.</param>
 /// <param name="innerException">The inner exception.</param>
 public DuplicateAddressBookEntryException(RicohEmbeddedSoapService service, AddressBookEntry entry, Exception innerException = null) : base(String.Format("The requested address book entry / authentication code {0} is already in use. ({1})", entry.Usercode, service.Hostname), innerException)
 {
 }
 /// <param name="service">The service triggering the exception.</param>
 /// <param name="operation">The name of the operation that failed.</param>
 /// <param name="innerException">The inner exception.</param>
 public RicohOperationFailedException(RicohEmbeddedSoapService service, string operation, Exception innerException = null):base(String.Format("The requested external operation on {0} ({1}) failed.", service.Hostname, operation), innerException)
 {
 }