io.servicetalk.serialization.api.SerializationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of servicetalk-serialization-api Show documentation
Show all versions of servicetalk-serialization-api Show documentation
A networking framework that evolves with your application
/*
* Copyright © 2018 Apple Inc. and the ServiceTalk project authors
*
* Licensed 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 io.servicetalk.serialization.api;
/**
* Exception indicating an error during serialization or deserialization.
* @deprecated Use {@link io.servicetalk.serializer.api.SerializationException}.
*/
@Deprecated
public final class SerializationException extends io.servicetalk.serializer.api.SerializationException {
private static final long serialVersionUID = 4181881136732849119L;
/**
* New instance.
*
* @param message for the exception.
*/
public SerializationException(final String message) {
super(message);
}
/**
* New instance.
*
* @param message for the exception.
* @param cause for this exception.
*/
public SerializationException(final String message, final Throwable cause) {
super(message, cause);
}
/**
* New instance.
*
* @param cause for this exception.
*/
public SerializationException(final Throwable cause) {
super(cause);
}
/**
* New instance.
* @param message for the exception.
* @param cause for this exception.
* @param enableSuppression whether or not suppression is enabled or disabled.
* @param writableStackTrace whether or not the stack trace should be writable.
*/
public SerializationException(final String message, final Throwable cause, final boolean enableSuppression,
final boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy