@Override public int getMicroblogsEntriesCount(long creatorClassNameId, long creatorClassPK, java.lang.String assetTagName, boolean andOperator) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName29, _methodParameterTypes29, new Object[] { creatorClassNameId, creatorClassPK, ClpSerializer.translateInput(assetTagName), andOperator }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof RuntimeException) { throw (RuntimeException)t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return ((Integer)returnObj).intValue(); }
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName8, _methodParameterTypes8, new Object[] {ClpSerializer.translateInput(dynamicQuery)}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return ((Long) returnObj).longValue(); }
public java.util.List<com.liferay.lms.model.CheckP2pMailing> getCheckP2pMailings( int start, int end) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName12, _methodParameterTypes12, new Object[] {start, end}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<com.liferay.lms.model.CheckP2pMailing>) ClpSerializer.translateOutput(returnObj); }
public java.util.List<com.iucn.whp.dbservice.model.prot_mgmt_overall> getprotmgmtoverallByVersion( long versionId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName19, _methodParameterTypes19, new Object[] {versionId}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<com.iucn.whp.dbservice.model.prot_mgmt_overall>) ClpSerializer.translateOutput(returnObj); }
public java.util.List<com.primum.model.DeviceConfig> getFreeDevicesByC_G( long companyId, long scopeGroupId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName23, _methodParameterTypes23, new Object[] {companyId, scopeGroupId}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<com.primum.model.DeviceConfig>) ClpSerializer.translateOutput(returnObj); }
@Override public java.util.List<org.oep.dossiermgt.model.StatisticByDay> getStatisticByDaies( int start, int end) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName13, _methodParameterTypes13, new Object[] {start, end}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<org.oep.dossiermgt.model.StatisticByDay>) ClpSerializer.translateOutput(returnObj); }
@Override public void removeStatisticByDay(long id) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableLocalService.invokeMethod( _methodName23, _methodParameterTypes23, new Object[] {id}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } }
public com.lftechnology.quest.qa.model.Answer getAnswer(long id) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName10, _methodParameterTypes10, new Object[] {id}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.lftechnology.quest.qa.model.Answer) ClpSerializer.translateOutput(returnObj); }
public com.liferay.lms.model.TestAnswer deleteTestAnswer( com.liferay.lms.model.TestAnswer testAnswer) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName3, _methodParameterTypes3, new Object[] {ClpSerializer.translateInput(testAnswer)}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.lms.model.TestAnswer) ClpSerializer.translateOutput(returnObj); }
@Override public <T> java.util.List<T> dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName12, _methodParameterTypes12, new Object[] { ClpSerializer.translateInput(dynamicQuery), start, end, ClpSerializer.translateInput(orderByComparator) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof RuntimeException) { throw (RuntimeException)t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<T>)ClpSerializer.translateOutput(returnObj); }
@Override public java.util.List<com.liferay.microblogs.model.MicroblogsEntry> getMicroblogsEntries( long creatorClassNameId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName24, _methodParameterTypes24, new Object[] { creatorClassNameId, type, start, end, ClpSerializer.translateInput(obc) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof RuntimeException) { throw (RuntimeException)t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<com.liferay.microblogs.model.MicroblogsEntry>)ClpSerializer.translateOutput(returnObj); }
@Override public com.liferay.microblogs.model.MicroblogsEntry deleteMicroblogsEntry( long microblogsEntryId) throws com.liferay.portal.kernel.exception.PortalException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod(_methodName6, _methodParameterTypes6, new Object[] { microblogsEntryId }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException)t; } if (t instanceof RuntimeException) { throw (RuntimeException)t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.microblogs.model.MicroblogsEntry)ClpSerializer.translateOutput(returnObj); }
@Override public void deleteMicroblogsEntries(long creatorClassNameId, long creatorClassPK) throws com.liferay.portal.kernel.exception.PortalException { try { _invokableLocalService.invokeMethod(_methodName4, _methodParameterTypes4, new Object[] { creatorClassNameId, creatorClassPK }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException)t; } if (t instanceof RuntimeException) { throw (RuntimeException)t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } }
@Override public void updateAsset( com.liferay.microblogs.model.MicroblogsEntry microblogsEntry, long[] assetCategoryIds, java.lang.String[] assetTagNames) throws com.liferay.portal.kernel.exception.PortalException { try { _invokableLocalService.invokeMethod(_methodName42, _methodParameterTypes42, new Object[] { ClpSerializer.translateInput(microblogsEntry), ClpSerializer.translateInput(assetCategoryIds), ClpSerializer.translateInput(assetTagNames) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException)t; } if (t instanceof RuntimeException) { throw (RuntimeException)t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } }
public com.iucn.whp.dbservice.model.whp_sites_inscription_date getwhp_sites_inscription_date( long whp_sites_inscription_date_id) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName10, _methodParameterTypes10, new Object[] {whp_sites_inscription_date_id}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.iucn.whp.dbservice.model.whp_sites_inscription_date) ClpSerializer.translateOutput(returnObj); }
public java.util.List<com.liferay.lms.model.TestAnswer> getTestAnswersByQuestionId( long questionId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName19, _methodParameterTypes19, new Object[] {questionId}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<com.liferay.lms.model.TestAnswer>) ClpSerializer.translateOutput(returnObj); }
public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTransition> getKaleoTransitions(long kaleoNodeId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName25, _methodParameterTypes25, new Object[] {kaleoNodeId}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTransition>) ClpSerializer.translateOutput(returnObj); }
@Override public int getGlobalInformationsCount() throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName14, _methodParameterTypes14, new Object[] {}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return ((Integer) returnObj).intValue(); }
@Override public org.oep.dossiermgt.model.StatisticByDay updateStatisticByDay( org.oep.dossiermgt.model.StatisticByDay statisticByDay) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName15, _methodParameterTypes15, new Object[] {ClpSerializer.translateInput(statisticByDay)}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (org.oep.dossiermgt.model.StatisticByDay) ClpSerializer.translateOutput(returnObj); }
@Override public com.liferay.support.standup.model.GlobalInformation updateGlobalInformation( com.liferay.support.standup.model.GlobalInformation globalInformation) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName15, _methodParameterTypes15, new Object[] {ClpSerializer.translateInput(globalInformation)}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.support.standup.model.GlobalInformation) ClpSerializer.translateOutput(returnObj); }
public com.iucn.whp.dbservice.model.prot_mgmt_overall fetchprot_mgmt_overall(long pmo_id) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName9, _methodParameterTypes9, new Object[] {pmo_id}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.iucn.whp.dbservice.model.prot_mgmt_overall) ClpSerializer.translateOutput(returnObj); }
@Override public com.liferay.socialcoding.model.SVNRepository getSVNRepository(java.lang.String url) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName19, _methodParameterTypes19, new Object[] {ClpSerializer.translateInput(url)}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.socialcoding.model.SVNRepository) ClpSerializer.translateOutput(returnObj); }
public com.primum.model.DeviceConfig updateDeviceConfig( com.primum.model.DeviceConfig deviceConfig) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName14, _methodParameterTypes14, new Object[] {ClpSerializer.translateInput(deviceConfig)}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.primum.model.DeviceConfig) ClpSerializer.translateOutput(returnObj); }
@Override public void updateSVNRepository(java.lang.String url) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { try { _invokableLocalService.invokeMethod( _methodName20, _methodParameterTypes20, new Object[] {ClpSerializer.translateInput(url)}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } }
@SuppressWarnings("rawtypes") public java.util.List dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName6, _methodParameterTypes6, new Object[] {ClpSerializer.translateInput(dynamicQuery), start, end}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List) ClpSerializer.translateOutput(returnObj); }
public com.iucn.whp.dbservice.model.assessment_lang_version updateassessment_lang_version( com.iucn.whp.dbservice.model.assessment_lang_version assessment_lang_version, boolean merge) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName15, _methodParameterTypes15, new Object[] {ClpSerializer.translateInput(assessment_lang_version), merge}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.iucn.whp.dbservice.model.assessment_lang_version) ClpSerializer.translateOutput(returnObj); }
public com.liferay.portal.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName11, _methodParameterTypes11, new Object[] {ClpSerializer.translateInput(primaryKeyObj)}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) t; } if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.portal.model.PersistedModel) ClpSerializer.translateOutput(returnObj); }
public java.util.List<com.iucn.whp.dbservice.model.assessment_lang_version> findByAssessmentIdByAssessmentVersionId(long assessmentVersionId) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName21, _methodParameterTypes21, new Object[] {assessmentVersionId}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (java.util.List<com.iucn.whp.dbservice.model.assessment_lang_version>) ClpSerializer.translateOutput(returnObj); }
public com.liferay.lms.model.CheckP2pMailing updateCheckP2pMailing( com.liferay.lms.model.CheckP2pMailing checkP2pMailing, boolean merge) throws com.liferay.portal.kernel.exception.SystemException { Object returnObj = null; try { returnObj = _invokableLocalService.invokeMethod( _methodName15, _methodParameterTypes15, new Object[] {ClpSerializer.translateInput(checkP2pMailing), merge}); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.lms.model.CheckP2pMailing) ClpSerializer.translateOutput(returnObj); }
@Override public void add( long companyId, long groupId, long userId, java.lang.String name, java.lang.String description, com.liferay.portal.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.SystemException { try { _invokableLocalService.invokeMethod( _methodName24, _methodParameterTypes24, new Object[] { companyId, groupId, userId, ClpSerializer.translateInput(name), ClpSerializer.translateInput(description), ClpSerializer.translateInput(serviceContext) }); } catch (Throwable t) { t = ClpSerializer.translateThrowable(t); if (t instanceof com.liferay.portal.kernel.exception.SystemException) { throw (com.liferay.portal.kernel.exception.SystemException) t; } if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } }