Skip to content

Commit 06ae07b

Browse files
committed
2
1 parent 4d59ed4 commit 06ae07b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/main/java/mate/academy/exception/AuthenticationException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
public class AuthenticationException extends RuntimeException {
44
public AuthenticationException(String s) {
5+
super(s);
56
}
67
}

src/main/java/mate/academy/exception/RegistrationException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
public class RegistrationException extends RuntimeException {
44
public RegistrationException(String s) {
5+
super(s);
56
}
67
}

src/main/java/mate/academy/model/MovieSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void setShowTime(LocalDateTime showTime) {
6060
}
6161

6262
public MovieSession setShowTime(int year, int month, int day, int hour, int minute) {
63-
this.showTime = showTime.of(year, month, day, hour, minute);
63+
this.showTime = LocalDateTime.of(year, month, day, hour, minute);
6464
return this;
6565
}
6666

0 commit comments

Comments
 (0)