Skip to content

Commit f291307

Browse files
committed
added exception to signature
1 parent f5111ee commit f291307

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package com.gb.didgen.service;
22

33
import com.gb.didgen.exception.ClockMovedBackException;
4+
import com.gb.didgen.exception.NodeIdOutOfBoundException;
45

56
public interface IdGenerator {
6-
long generateId() throws ClockMovedBackException;
7+
long generateId() throws ClockMovedBackException, NodeIdOutOfBoundException;
78
}

0 commit comments

Comments
 (0)