com.feilong.lib.xstream.security.ForbiddenClassException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of feilong Show documentation
Show all versions of feilong Show documentation
feilong is a suite of core and expanded libraries that include utility classes, http, excel,cvs, io classes, and much much more.
/*
* Copyright (C) 2014 XStream Committers.
* All rights reserved.
*
* Created on 08. January 2014 by Joerg Schaible
*/
package com.feilong.lib.xstream.security;
import com.feilong.lib.xstream.XStreamException;
/**
* Exception thrown for a forbidden class.
*
* @author Jörg Schaible
* @since 1.4.7
*/
public class ForbiddenClassException extends XStreamException{
/**
*
*/
private static final long serialVersionUID = 1316685355876458443L;
/**
* Construct a ForbiddenClassException.
*
* @param type
* the forbidden class
* @since 1.4.7
*/
public ForbiddenClassException(Class type){
super(type == null ? "null" : type.getName());
}
}