blob: 2fe1e790fa0f2a9d20ca07aeb1c05e4aaca255b6 [file] [log] [blame]
/*
* 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.ignite.binary;
import org.jetbrains.annotations.Nullable;
/**
* Exception indicating that class needed for deserialization of binary object does not exist.
* <p>
* Thrown from {@link BinaryObject#deserialize()} method.
*/
public class BinaryInvalidTypeException extends BinaryObjectException {
/** */
private static final long serialVersionUID = 0L;
/**
* Creates invalid class exception with error message.
*
* @param msg Error message.
*/
public BinaryInvalidTypeException(String msg) {
super(msg);
}
/**
* Creates invalid class exception with {@link Throwable} as a cause.
*
* @param cause Cause.
*/
public BinaryInvalidTypeException(Throwable cause) {
super(cause);
}
/**
* Creates invalid class exception with error message and {@link Throwable} as a cause.
*
* @param msg Error message.
* @param cause Cause.
*/
public BinaryInvalidTypeException(String msg, @Nullable Throwable cause) {
super(msg, cause);
}
}