gt:             t = ClpSerializer.translateThrowable(t);
context: package com.arcusys.learn.persistence.liferay.service;
  
  import com.liferay.portal.service.InvokableLocalService;
  
  /**
   * @author Brian Wing Shun Chan
   * @generated
   */
  public class LFQuizQuestionLocalServiceClp implements LFQuizQuestionLocalService {
      private InvokableLocalService _invokableLocalService;
      private String _methodName0;
      private String[] _methodParameterTypes0;
      private String _methodName1;
      private String[] _methodParameterTypes1;
      private String _methodName2;
      private String[] _methodParameterTypes2;
      private String _methodName3;
      private String[] _methodParameterTypes3;
      private String _methodName4;
      private String[] _methodParameterTypes4;
      private String _methodName5;
      private String[] _methodParameterTypes5;
      private String _methodName6;
      private String[] _methodParameterTypes6;
      private String _methodName7;
      private String[] _methodParameterTypes7;
      private String _methodName8;
      private String[] _methodParameterTypes8;
      private String _methodName9;
      private String[] _methodParameterTypes9;
      private String _methodName10;
      private String[] _methodParameterTypes10;
      private String _methodName11;
      private String[] _methodParameterTypes11;
      private String _methodName12;
      private String[] _methodParameterTypes12;
      private String _methodName13;
      private String[] _methodParameterTypes13;
      private String _methodName14;
      private String[] _methodParameterTypes14;
      private String _methodName15;
      private String[] _methodParameterTypes15;
      private String _methodName16;
      private String[] _methodParameterTypes16;
      private String _methodName17;
      private String[] _methodParameterTypes17;
      private String _methodName19;
      private String[] _methodParameterTypes19;
      private String _methodName20;
      private String[] _methodParameterTypes20;
      private String _methodName21;
      private String[] _methodParameterTypes21;
      private String _methodName22;
      private String[] _methodParameterTypes22;
  
      public LFQuizQuestionLocalServiceClp(
          InvokableLocalService invokableLocalService) {
          _invokableLocalService = invokableLocalService;
  
          _methodName0 = "addLFQuizQuestion";
  
          _methodParameterTypes0 = new String[] {
                  "com.arcusys.learn.persistence.liferay.model.LFQuizQuestion"
              };
  
          _methodName1 = "createLFQuizQuestion";
  
          _methodParameterTypes1 = new String[] { "long" };
  
          _methodName2 = "deleteLFQuizQuestion";
  
          _methodParameterTypes2 = new String[] { "long" };
  
          _methodName3 = "deleteLFQuizQuestion";
  
          _methodParameterTypes3 = new String[] {
                  "com.arcusys.learn.persistence.liferay.model.LFQuizQuestion"
              };
  
          _methodName4 = "dynamicQuery";
  
          _methodParameterTypes4 = new String[] {  };
  
          _methodName5 = "dynamicQuery";
  
          _methodParameterTypes5 = new String[] {
                  "com.liferay.portal.kernel.dao.orm.DynamicQuery"
              };
  
          _methodName6 = "dynamicQuery";
  
          _methodParameterTypes6 = new String[] {
                  "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int"
              };
  
          _methodName7 = "dynamicQuery";
  
          _methodParameterTypes7 = new String[] {
                  "com.liferay.portal.kernel.dao.orm.DynamicQuery", "int", "int",
                  "com.liferay.portal.kernel.util.OrderByComparator"
              };
  
          _methodName8 = "dynamicQueryCount";
  
          _methodParameterTypes8 = new String[] {
                  "com.liferay.portal.kernel.dao.orm.DynamicQuery"
              };
  
          _methodName9 = "dynamicQueryCount";
  
          _methodParameterTypes9 = new String[] {
                  "com.liferay.portal.kernel.dao.orm.DynamicQuery",
                  "com.liferay.portal.kernel.dao.orm.Projection"
              };
  
          _methodName10 = "fetchLFQuizQuestion";
  
          _methodParameterTypes10 = new String[] { "long" };
  
          _methodName11 = "getLFQuizQuestion";
  
          _methodParameterTypes11 = new String[] { "long" };
  
          _methodName12 = "getPersistedModel";
  
          _methodParameterTypes12 = new String[] { "java.io.Serializable" };
  
          _methodName13 = "getLFQuizQuestions";
  
          _methodParameterTypes13 = new String[] { "int", "int" };
  
          _methodName14 = "getLFQuizQuestionsCount";
  
          _methodParameterTypes14 = new String[] {  };
  
          _methodName15 = "updateLFQuizQuestion";
  
          _methodParameterTypes15 = new String[] {
                  "com.arcusys.learn.persistence.liferay.model.LFQuizQuestion"
              };
  
          _methodName16 = "getBeanIdentifier";
  
          _methodParameterTypes16 = new String[] {  };
  
          _methodName17 = "setBeanIdentifier";
  
          _methodParameterTypes17 = new String[] { "java.lang.String" };
  
          _methodName19 = "createLFQuizQuestion";
  
          _methodParameterTypes19 = new String[] {  };
  
          _methodName20 = "findByQuizID";
  
          _methodParameterTypes20 = new String[] { "java.lang.Integer" };
  
          _methodName21 = "findByQuizAndCategory";
  
          _methodParameterTypes21 = new String[] {
                  "java.lang.Integer", "java.lang.Integer"
              };
  
          _methodName22 = "removeAll";
  
          _methodParameterTypes22 = new String[] {  };
      }
  
      @Override
      public com.arcusys.learn.persistence.liferay.model.LFQuizQuestion addLFQuizQuestion(
          com.arcusys.learn.persistence.liferay.model.LFQuizQuestion lfQuizQuestion)
          throws com.liferay.portal.kernel.exception.SystemException {
          Object returnObj = null;
  
          try {
              returnObj = _invokableLocalService.invokeMethod(_methodName0,
                      _methodParameterTypes0,
                      new Object[] { ClpSerializer.translateInput(lfQuizQuestion) });
          } 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.arcusys.learn.persistence.liferay.model.LFQuizQuestion) ClpSerializer.translateOutput(returnObj);
      }
  
      @Override
      public com.arcusys.learn.persistence.liferay.model.LFQuizQuestion createLFQuizQuestion(
          long id) {
          Object returnObj = null;
  
          try {
              returnObj = _invokableLocalService.invokeMethod(_methodName1,
                      _methodParameterTypes1, new Object[] { id });
          } 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 (com.arcusys.learn.persistence.liferay.model.LFQuizQuestion) ClpSerializer.translateOutput(returnObj);
      }
  
      @Override
      public com.arcusys.learn.persistence.liferay.model.LFQuizQuestion deleteLFQuizQuestion(
          long id)
          throws com.liferay.portal.kernel.exception.PortalException,
              com.liferay.portal.kernel.exception.SystemException {
          Object returnObj = null;
  
          try {
              returnObj = _invokableLocalService.invokeMethod(_methodName2,
                      _methodParameterTypes2, 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.arcusys.learn.persistence.liferay.model.LFQuizQuestion) ClpSerializer.translateOutput(returnObj);
      }
  
      @Override
      public com.arcusys.learn.persistence.liferay.model.LFQuizQuestion deleteLFQuizQuestion(
          com.arcusys.learn.persistence.liferay.model.LFQuizQuestion lfQuizQuestion)
          throws com.liferay.portal.kernel.exception.SystemException {
          Object returnObj = null;
  
          try {
              returnObj = _invokableLocalService.invokeMethod(_methodName3,
                      _methodParameterTypes3,
                      new Object[] { ClpSerializer.translateInput(lfQuizQuestion) });
          } 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.arcusys.learn.persistence.liferay.model.LFQuizQuestion) ClpSerializer.translateOutput(returnObj);
      }
  
      @Override
      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
          Object returnObj = null;
  
          try {
              returnObj = _invokableLocalService.invokeMethod(_methodName4,
                      _methodParameterTypes4, new Object[] {  });
          } 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 (com.liferay.portal.kernel.dao.orm.DynamicQuery) ClpSerializer.translateOutput(returnObj);
      }
  
      @Override
      @SuppressWarnings("rawtypes")
      public java.util.List dynamicQuery(
          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          throws com.liferay.portal.kernel.exception.SystemException {
          Object returnObj = null;
  
          try {
              returnObj = _invokableLocalService.invokeMethod(_methodName5,
                      _methodParameterTypes5,
                      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 (java.util.List) ClpSerializer.translateOutput(returnObj);
      }
  
      @Override
      @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);
      }
  
      @Override
      @SuppressWarnings("rawtypes")
      public java.util.List dynamicQuery(
          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
          int end,
          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          throws com.liferay.portal.kernel.exception.SystemException {
          Object returnObj = null;
  
          try {
              returnObj = _invokableLocalService.invokeMethod(_methodName7,
                      _methodParameterTypes7,
                      new Object[] {
                          ClpSerializer.translateInput(dynamicQuery),
                          
                      start,
                          
                      end,
                          
                      ClpSerializer.translateInput(orderByComparator)
                      });
          } 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);
      }
  
      @Override
      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();
      }
  
      @Override
      public long dynamicQueryCount(
          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
          com.liferay.portal.kernel.dao.orm.Projection projection)
          throws com.liferay.portal.kernel.exception.SystemException {
          Object returnObj = null;
  
          try {
              returnObj = _invokableLocalService.invokeMethod(_methodName9,
                      _methodParameterTypes9,
                      new Object[] {
                          ClpSerializer.translateInput(dynamicQuery),
                          
                      ClpSerializer.translateInput(projection)
                      });
          } 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();
      }
  
      @Override
      public com.arcusys.learn.persistence.liferay.model.LFQuizQuestion fetchLFQuizQuestion(
          long id) throws 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.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.arcusys.learn.persistence.liferay.model.LFQuizQuestion) ClpSerializer.translateOutput(returnObj);
      }
  
      @Override
      public com.arcusys.learn.persistence.liferay.model.LFQuizQuestion getLFQuizQuestion(
          long id)
          throws com.liferay.portal.kernel.exception.PortalException,
              com.liferay.portal.kernel.exception.SystemException {
          Object returnObj = null;
  
          try {
              returnObj = _invokableLocalService.invokeMethod(_methodName11,
                      _methodParameterTypes11, 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.arcusys.learn.persistence.liferay.model.LFQuizQuestion) ClpSerializer.translateOutput(returnObj);
      }
  
      @Override
      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(_methodName12,
                      _methodParameterTypes12,
                      new Object[] { ClpSerializer.translateInput(primaryKeyObj) });
          } catch (Throwable t) {
  