Package org.apache.isis.applib

Examples of org.apache.isis.applib.FatalException


                zos.closeEntry();
            }
            writer.close();
            return new Blob("layouts.zip", mimeTypeApplicationZip, baos.toByteArray());
        } catch (final IOException ex) {
            throw new FatalException("Unable to create zip of layouts", ex);
        }
    }
View Full Code Here


      final Object[] arguments = AdapterUtils.unwrap(argumentAdapters);
            @SuppressWarnings("unchecked")
            final ActionInvokedEvent<?> event = org.apache.isis.core.metamodel.facets.actions.event.PostsActionInvokedEventFacet.Util.newEvent(type, source, actionIdentifier, arguments);
      getEventBusService().post(event);
    } catch (Exception e) {
      throw new FatalException(e);
    }
  }
View Full Code Here

            final Object source = ObjectAdapter.Util.unwrap(targetAdapter);
            final PropertyChangedEvent<?, ?> event = Util.newEvent(type, source, identifier, oldValue, newValue);
           
            helper.postEvent(event);
        } catch (Exception e) {
            throw new FatalException(e);
        }
    }
View Full Code Here

            final Object source = ObjectAdapter.Util.unwrap(targetAdapter);
            final PropertyChangedEvent<?, ?> event = Util.newEvent(type, source, identifier, oldValue, newValue);

            helper.postEvent(event);
        } catch (Exception e) {
            throw new FatalException(e);
        }
    }
View Full Code Here

      final Class type = value();
      final Object source = AdapterUtils.unwrap(targetAdapter);
      final CollectionRemovedFromEvent<?, ?> event = Util.newEvent(type, source, identifier, removedReference);
      eventBusService.post(event);
    } catch (Exception e) {
      throw new FatalException(e);
    }
  }
View Full Code Here

      final Class type = value();
            final Object source = AdapterUtils.unwrap(targetAdapter);
      final CollectionAddedToEvent<?, ?> event = Util.newEvent(type, source, identifier, addedReference);
      eventBusService.post(event);
    } catch (Exception e) {
      throw new FatalException(e);
    }
  }
View Full Code Here

            final Class type = value();
            final PropertyChangedEvent<?, ?> event = newEvent(type, oldValue, newValue, source);
           
            eventBusService.post(event);
        } catch (Exception e) {
            throw new FatalException(e);
        }
    }
View Full Code Here

                zos.closeEntry();
            }
            writer.close();
            return new Blob("layouts.zip", mimeTypeApplicationZip, baos.toByteArray());
        } catch (final IOException ex) {
            throw new FatalException("Unable to create zip of layouts", ex);
        }
    }
View Full Code Here

            event.setPhase(phase);
            getEventBusService().post(event);
            return event;
        } catch (Exception e) {
            throw new FatalException(e);
        }
    }
View Full Code Here

            }
            event.setPhase(phase);
            getEventBusService().post(event);
            return event;
        } catch (Exception e) {
            throw new FatalException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.applib.FatalException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.