Changeset 4123
- Timestamp:
- 2010-07-08 07:27:59 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
projects/lily/trunk/repository/impl/src/main/java/org/lilycms/repository/avro/AvroConverter.java
r4122 r4123 30 30 } 31 31 32 public Record convert(AvroRecord avroRecord) throws FieldTypeNotFoundException, TypeException{32 public Record convert(AvroRecord avroRecord) { 33 33 Record record = repository.newRecord(); 34 34 // Id … … 422 422 } 423 423 424 public RecordExistsException convert(AvroRecordExistsException avroException) 425 throws FieldTypeNotFoundException, TypeException { 426 424 public RecordExistsException convert(AvroRecordExistsException avroException) { 427 425 RecordExistsException exception = new RecordExistsException(convert(avroException.record)); 428 426 restoreCauses(avroException.remoteCauses, exception); … … 430 428 } 431 429 432 public RecordNotFoundException convert(AvroRecordNotFoundException avroException) 433 throws FieldTypeNotFoundException, TypeException { 434 430 public RecordNotFoundException convert(AvroRecordNotFoundException avroException) { 435 431 RecordNotFoundException exception = new RecordNotFoundException(convert(avroException.record)); 436 432 restoreCauses(avroException.remoteCauses, exception); … … 438 434 } 439 435 440 public VersionNotFoundException convert(AvroVersionNotFoundException avroException) 441 throws FieldTypeNotFoundException, TypeException { 442 436 public VersionNotFoundException convert(AvroVersionNotFoundException avroException) { 443 437 VersionNotFoundException exception = new VersionNotFoundException(convert(avroException.record)); 444 438 restoreCauses(avroException.remoteCauses, exception); … … 446 440 } 447 441 448 public InvalidRecordException convert(AvroInvalidRecordException avroException) 449 throws FieldTypeNotFoundException, TypeException { 450 442 public InvalidRecordException convert(AvroInvalidRecordException avroException) { 451 443 InvalidRecordException exception = new InvalidRecordException(convert(avroException.record), convert(avroException.message)); 452 444 restoreCauses(avroException.remoteCauses, exception);
Note: See TracChangeset
for help on using the changeset viewer.