src/main/java/js/servlet/Cookies.java
public void add(String name, Object value) {
		add(name, ConverterRegistry.getConverter().asString(value));
	}
public void add(String name, Object value) {
		add(name, ConverterRegistry.getConverter().asString(value));
	}
public void add ( String name , Object value ) { add ( name , ConverterRegistry . getConverter ( ) . asString ( value ) ) ; }
Convert value object to string and delegates {@link #add(String, String)}. String conversion is performed by
{@link Converter} and may throw {@link ConverterException}.

@param name cookie name, not null or empty,
@param value cookie value, not null or empty.
@throws IllegalArgumentException if <code>name</code> argument is null or empty.
@throws IllegalArgumentException if <code>value</code> argument is null or empty.
@throws ConverterException if value object has no converter registered or object value serialization fails.
Convert value object to string and delegates { @link #add ( String String ) } . String conversion is performed by { @link Converter } and may throw { @link ConverterException } .