org.brutusin.demo.SecurityExceptionAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rpc-demo Show documentation
Show all versions of rpc-demo Show documentation
Demo app for brutusin:rcp
The newest version!
package org.brutusin.demo;
import org.brutusin.rpc.http.Cacheable;
import org.brutusin.rpc.http.SafeAction;
public class SecurityExceptionAction extends SafeAction {
@Override
public Cacheable execute(Void input) throws Exception {
throw new SecurityException("Forbidden access");
}
}