Package com.kurento.kmf.common.exception

Examples of com.kurento.kmf.common.exception.KurentoMediaFrameworkException


    } catch (KurentoMediaFrameworkException ke) {
      internalTerminateWithError(null, ke.getCode(), ke.getMessage(),
          null);
      throw ke;
    } catch (Throwable t) {
      KurentoMediaFrameworkException kmfe = new KurentoMediaFrameworkException(
          t.getMessage(), t, 20029);
      internalTerminateWithError(null, kmfe.getCode(), kmfe.getMessage(),
          null);
      throw kmfe;
    }
  }
View Full Code Here


    } catch (KurentoMediaFrameworkException ke) {
      internalTerminateWithError(null, ke.getCode(), ke.getMessage(),
          null);
      throw ke;
    } catch (Throwable t) {
      KurentoMediaFrameworkException kmfe = new KurentoMediaFrameworkException(
          t.getMessage(), t, 20029);
      internalTerminateWithError(null, kmfe.getCode(), kmfe.getMessage(),
          null);
      throw kmfe;
    }
  }
View Full Code Here

      getLogger().info("Sending redirect to " + url);
      response.setStatus(HttpServletResponse.SC_TEMPORARY_REDIRECT);
      response.setHeader("Location", url);

    } catch (Throwable t) {
      throw new KurentoMediaFrameworkException(t.getMessage(), t, 20013);
    } finally {
      initialAsyncCtx.complete();
      initialAsyncCtx = null;
    }
  }
View Full Code Here

              request.getAsyncContext().complete();
            }
          });

    } catch (Throwable t) {
      throw new KurentoMediaFrameworkException(t.getMessage(), t, 20013);
    } finally {
      initialAsyncCtx = null;
    }
  }
View Full Code Here

  private void answerActivateMediaRequest4SimpleHttpConfigurationWithDispatch(
      String path) {
    try {
      initialAsyncCtx.dispatch(path);
    } catch (Throwable t) {
      throw new KurentoMediaFrameworkException(t.getMessage(), t, 20013);
    } finally {
      initialAsyncCtx = null;
    }
  }
View Full Code Here

            (HttpServletRequest) initialAsyncCtx.getRequest(),
            (HttpServletResponse) initialAsyncCtx.getResponse(),
            ExceptionUtils.getHttpErrorCode(code), description);
      } catch (ServletException e) {
        getLogger().error(e.getMessage(), e);
        throw new KurentoMediaFrameworkException(e, 20026);
      }
    }
  }
View Full Code Here

            (HttpServletRequest) initialAsyncCtx.getRequest(),
            (HttpServletResponse) initialAsyncCtx.getResponse(),
            ExceptionUtils.getHttpErrorCode(code), description);
      } catch (ServletException e) {
        getLogger().error(e.getMessage(), e);
        throw new KurentoMediaFrameworkException(e, 20026);
      }
    }
  }
View Full Code Here

    } catch (KurentoMediaFrameworkException ke) {
      internalTerminateWithError(null, ke.getCode(), ke.getMessage(),
          null);
      throw ke;
    } catch (Throwable t) {
      KurentoMediaFrameworkException kmfe = new KurentoMediaFrameworkException(
          t.getMessage(), t, 20039);
      internalTerminateWithError(null, kmfe.getCode(), kmfe.getMessage(),
          null);
      throw kmfe;
    }
  }
View Full Code Here

    } catch (KurentoMediaFrameworkException ke) {
      internalTerminateWithError(null, ke.getCode(), ke.getMessage(),
          null);
      throw ke;
    } catch (Throwable t) {
      KurentoMediaFrameworkException kmfe = new KurentoMediaFrameworkException(
          t.getMessage(), t, 20029);
      internalTerminateWithError(null, kmfe.getCode(), kmfe.getMessage(),
          null);
      throw kmfe;
    }
  }
View Full Code Here

    } catch (KurentoMediaFrameworkException ke) {
      internalTerminateWithError(null, ke.getCode(), ke.getMessage(),
          null);
      throw ke;
    } catch (Throwable t) {
      KurentoMediaFrameworkException kmfe = new KurentoMediaFrameworkException(
          t.getMessage(), t, 20029);
      internalTerminateWithError(null, kmfe.getCode(), kmfe.getMessage(),
          null);
      throw kmfe;
    }

  }
View Full Code Here

TOP

Related Classes of com.kurento.kmf.common.exception.KurentoMediaFrameworkException

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.