|
26 | 26 | import org.tron.core.exception.AccountResourceInsufficientException; |
27 | 27 | import org.tron.core.exception.BadBlockException; |
28 | 28 | import org.tron.core.exception.BadItemException; |
| 29 | +import org.tron.core.exception.BadNumberBlockException; |
29 | 30 | import org.tron.core.exception.ContractExeException; |
30 | 31 | import org.tron.core.exception.ContractValidateException; |
31 | 32 | import org.tron.core.exception.DupTransactionException; |
| 33 | +import org.tron.core.exception.NonCommonBlockException; |
32 | 34 | import org.tron.core.exception.ReceiptCheckErrException; |
33 | 35 | import org.tron.core.exception.TaposException; |
34 | 36 | import org.tron.core.exception.TooBigTransactionException; |
35 | 37 | import org.tron.core.exception.TooBigTransactionResultException; |
36 | 38 | import org.tron.core.exception.TransactionExpirationException; |
| 39 | +import org.tron.core.exception.UnLinkedBlockException; |
37 | 40 | import org.tron.core.exception.VMIllegalException; |
38 | 41 | import org.tron.core.exception.ValidateScheduleException; |
39 | 42 | import org.tron.core.exception.ValidateSignatureException; |
@@ -141,14 +144,16 @@ private void syncSolidityBlock() throws BadBlockException { |
141 | 144 | throw new BadBlockException("too big exception result"); |
142 | 145 | } catch (TransactionExpirationException e) { |
143 | 146 | throw new BadBlockException("expiration exception"); |
144 | | -// } catch (BadNumberBlockException e) { |
145 | | -// throw new BadBlockException("bad number exception"); |
146 | | -// } catch (NonCommonBlockException e) { |
147 | | -// throw new BadBlockException("non common exception"); |
| 147 | + } catch (BadNumberBlockException e) { |
| 148 | + throw new BadBlockException("bad number exception"); |
| 149 | + } catch (NonCommonBlockException e) { |
| 150 | + throw new BadBlockException("non common exception"); |
148 | 151 | } catch (ReceiptCheckErrException e) { |
149 | 152 | throw new BadBlockException("OutOfSlotTime Exception"); |
150 | 153 | } catch (VMIllegalException e) { |
151 | 154 | throw new BadBlockException(e.getMessage()); |
| 155 | + } catch (UnLinkedBlockException e) { |
| 156 | + throw new BadBlockException("unLink exception"); |
152 | 157 | } |
153 | 158 |
|
154 | 159 | } else { |
|
0 commit comments