"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-r2dbc/src/main/java/org/springframework/r2dbc/connection/init/CannotReadScriptException.java" between
spring-framework-5.3.7.tar.gz and spring-framework-5.3.8.tar.gz

About: Spring Framework is an application framework for the Java platform and .NET Framework. Community edition.

CannotReadScriptException.java  (spring-framework-5.3.7):CannotReadScriptException.java  (spring-framework-5.3.8)
/* /*
* Copyright 2002-2020 the original author or authors. * Copyright 2002-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* https://www.apache.org/licenses/LICENSE-2.0 * https://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
skipping to change at line 24 skipping to change at line 24
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.r2dbc.connection.init; package org.springframework.r2dbc.connection.init;
import org.springframework.core.io.support.EncodedResource; import org.springframework.core.io.support.EncodedResource;
/** /**
* Thrown by {@link ScriptUtils} if an SQL script cannot be read. * Thrown by {@link ScriptUtils} if an SQL script cannot be read.
* *
* @author Keith Donald
* @author Sam Brannen
* @author Mark Paluch * @author Mark Paluch
* @since 5.3 * @since 5.3
*/ */
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class CannotReadScriptException extends ScriptException { public class CannotReadScriptException extends ScriptException {
/** /**
* Create a new {@code CannotReadScriptException}. * Create a new {@code CannotReadScriptException}.
* @param resource the resource that cannot be read from. * @param resource the resource that cannot be read from
* @param cause the underlying cause of the resource access failure. * @param cause the underlying cause of the resource access failure
*/ */
public CannotReadScriptException(EncodedResource resource, Throwable caus e) { public CannotReadScriptException(EncodedResource resource, Throwable caus e) {
super("Cannot read SQL script from " + resource, cause); super("Cannot read SQL script from " + resource, cause);
} }
} }
 End of changes. 3 change blocks. 
3 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)