All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thoughtworks.xstream.security.ForbiddenClassException Maven / Gradle / Ivy

There is a newer version: 0.40.13
Show newest version
/*
 * Copyright (C) 2014 XStream Committers.
 * All rights reserved.
 *
 * Created on 08. January 2014 by Joerg Schaible
 */
package com.thoughtworks.xstream.security;

import com.thoughtworks.xstream.XStreamException;

/**
 * Exception thrown for a forbidden class.
 * 
 * @author Jörg Schaible
 * @since 1.4.7
 */
public class ForbiddenClassException extends XStreamException {

    /**
     * Construct a ForbiddenClassException.
     * @param type the forbidden class
     * @since 1.4.7
     */
    public ForbiddenClassException(Class type) {
        super(type == null ? "null" : type.getName());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy