You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2024/06/19 07:41:20 UTC
(causeway) 03/04: CAUSEWAY-2297: minor: code format + missing license header
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 7de9720635564b6763583f584cb6d33487e55dfc
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Jun 19 05:50:26 2024 +0200
CAUSEWAY-2297: minor: code format + missing license header
---
.../unrecoverable/BookmarkNotFoundException.java | 37 ++++++++++++++++++----
1 file changed, 31 insertions(+), 6 deletions(-)
diff --git a/api/applib/src/main/java/org/apache/causeway/applib/exceptions/unrecoverable/BookmarkNotFoundException.java b/api/applib/src/main/java/org/apache/causeway/applib/exceptions/unrecoverable/BookmarkNotFoundException.java
index 2edeae20d7..5372c4f16b 100644
--- a/api/applib/src/main/java/org/apache/causeway/applib/exceptions/unrecoverable/BookmarkNotFoundException.java
+++ b/api/applib/src/main/java/org/apache/causeway/applib/exceptions/unrecoverable/BookmarkNotFoundException.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package org.apache.causeway.applib.exceptions.unrecoverable;
import org.apache.causeway.applib.exceptions.UnrecoverableException;
@@ -6,27 +24,34 @@ import org.apache.causeway.applib.services.i18n.TranslatableString;
/**
* Indicates that a bookmark cannot be found.
*
- * @since 2.x {@index}
+ * @since 2.1, 3.1 {@index}
*
*/
public class BookmarkNotFoundException extends UnrecoverableException {
- public BookmarkNotFoundException(String msg) {
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1L;
+
+ public BookmarkNotFoundException(final String msg) {
super(msg);
}
- public BookmarkNotFoundException(TranslatableString translatableMessage, Class<?> translationContextClass, String translationContextMethod) {
+ public BookmarkNotFoundException(final TranslatableString translatableMessage,
+ final Class<?> translationContextClass, final String translationContextMethod) {
super(translatableMessage, translationContextClass, translationContextMethod);
}
- public BookmarkNotFoundException(Throwable cause) {
+ public BookmarkNotFoundException(final Throwable cause) {
super(cause);
}
- public BookmarkNotFoundException(String msg, Throwable cause) {
+ public BookmarkNotFoundException(final String msg, final Throwable cause) {
super(msg, cause);
}
- public BookmarkNotFoundException(TranslatableString translatableMessage, Class<?> translationContextClass, String translationContextMethod, Throwable cause) {
+ public BookmarkNotFoundException(final TranslatableString translatableMessage,
+ final Class<?> translationContextClass, final String translationContextMethod, final Throwable cause) {
super(translatableMessage, translationContextClass, translationContextMethod, cause);
}
}
\ No newline at end of file