The @ApplicationException annotation is used to signal an exception that needs to reported back to the EJB client unwrapped, meaning not inside a EJB exception, but straight to the client. Note the example also forces any associated transaction to rollback.
@ApplicationException(rollback=true)
public class MyAppException extends Exception {
}