Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -130,7 +130,7 @@ public class PublisherVersionView implements Serializable { | ... | @@ -130,7 +130,7 @@ public class PublisherVersionView implements Serializable { |
130 | 130 | ||
131 | publisherVersion = publisherService.getPublisherVersion(publisherVersionId); | 131 | publisherVersion = publisherService.getPublisherVersion(publisherVersionId); |
132 | if (publisherVersion == null) { | 132 | if (publisherVersion == null) { |
133 | - throw new RuntimeException("Publisher version not found"); | 133 | + throw new IllegalStateException("Publisher version not found"); |
134 | } | 134 | } |
135 | publisherVersionAuthor = publisherVersion.getPublisherVersionAuthor(); | 135 | publisherVersionAuthor = publisherVersion.getPublisherVersionAuthor(); |
136 | publisherVersionDatetime = publisherVersion.getPublisherVersionDatetime(); | 136 | publisherVersionDatetime = publisherVersion.getPublisherVersionDatetime(); | ... | ... |
-
Please register or login to post a comment