Class KurentoException

All Implemented Interfaces:
Serializable

public class KurentoException extends RuntimeException

It's usage is intended for system-level exceptions. Usage is encouraged in the following cases:

  • If the method encounters a system exception or error, but never for business related errors.
  • If the method performs an operation that results in a checked exception that the bean method cannot recover.
  • Any other unexpected error conditions.

The original exception cause must be provided within the exception if it is raised due to a previous exception.

This kind of exceptions are not checked and with CMT provoke a roll back at the moment the are thrown.

Since:
4.1.1
Author:
Ivan Gracia (izanmail@gmail.com)
See Also:
  • Constructor Details

    • KurentoException

      public KurentoException()
      default constructor.
    • KurentoException

      public KurentoException(String msg)
      Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
      Parameters:
      msg - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
    • KurentoException

      public KurentoException(String msg, Throwable throwable)
      Parameters:
      msg - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      throwable - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • KurentoException

      public KurentoException(Throwable throwable)
      Parameters:
      throwable - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)