Documentation of 'org.jquantlib.QL' Java class
QL
org.jquantlib

Class QL



  • public class QL
    extends java.lang.Object
    Static methods for validation and emiting log messages
    • Constructor Summary

      Constructors 
      Constructor and Description
      QL() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void debug(java.lang.String message)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void debug(java.lang.String message, java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void debug(java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void ensure(boolean condition, java.lang.String message)
      Throws an error if a post-condition is not verified
      static void ensure(boolean condition, java.lang.String format, java.lang.Object... objects) 
      static void error(java.lang.String message)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void error(java.lang.String message, java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void error(java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void info(java.lang.String message)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void info(java.lang.String message, java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void info(java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void require(boolean condition, java.lang.Class<? extends java.lang.RuntimeException> klass, java.lang.String message)
      Throws an error if a pre-condition is not verified
      static void require(boolean condition, java.lang.String message)
      Throws an error if a pre-condition is not verified
      static void require(boolean condition, java.lang.String format, java.lang.Object... objects)
      Throws an error if a pre-condition is not verified
      static void trace(java.lang.String message)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void trace(java.lang.String message, java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void trace(java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void validateExperimentalMode()
      This method to validate whether code is being run in experimental mode or not
      static void warn(java.lang.String message)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void warn(java.lang.String message, java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      static void warn(java.lang.Throwable t)
      This method unconditionally emits a message to the logging system but does not throw any exception.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QL

        public QL()
    • Method Detail

      • require

        public static void require(boolean condition,
                                   java.lang.String format,
                                   java.lang.Object... objects)
                            throws java.lang.RuntimeException
        Throws an error if a pre-condition is not verified

        Parameters:
        condition - is a condition to be verified
        message - is a message emitted.
        Throws:
        a - LibraryException if the condition is not met
        java.lang.RuntimeException
      • require

        public static void require(boolean condition,
                                   java.lang.String message)
                            throws java.lang.RuntimeException
        Throws an error if a pre-condition is not verified

        Parameters:
        condition - is a condition to be verified
        message - is a message emitted.
        Throws:
        a - LibraryException if the condition is not met
        java.lang.RuntimeException
      • require

        public static void require(boolean condition,
                                   java.lang.Class<? extends java.lang.RuntimeException> klass,
                                   java.lang.String message)
                            throws java.lang.RuntimeException
        Throws an error if a pre-condition is not verified

        Parameters:
        condition - is a condition to be verified
        klass - is a Class which extends RuntimeException
        message - is a message emitted.
        Throws:
        a - LibraryException if the condition is not met
        java.lang.RuntimeException
      • ensure

        public static void ensure(boolean condition,
                                  java.lang.String format,
                                  java.lang.Object... objects)
                           throws java.lang.RuntimeException
        Throws:
        java.lang.RuntimeException
      • ensure

        public static void ensure(boolean condition,
                                  java.lang.String message)
                           throws java.lang.RuntimeException
        Throws an error if a post-condition is not verified

        Parameters:
        condition - is a condition to be verified
        message - is a message emitted.
        Throws:
        a - LibraryException if the condition is not met
        java.lang.RuntimeException
      • error

        public static void error(java.lang.String message)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • error

        public static void error(java.lang.String message,
                                 java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • error

        public static void error(java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • warn

        public static void warn(java.lang.String message)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • warn

        public static void warn(java.lang.String message,
                                java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • warn

        public static void warn(java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • info

        public static void info(java.lang.String message)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • info

        public static void info(java.lang.String message,
                                java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • info

        public static void info(java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • debug

        public static void debug(java.lang.String message)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • debug

        public static void debug(java.lang.String message,
                                 java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • debug

        public static void debug(java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • trace

        public static void trace(java.lang.String message)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • trace

        public static void trace(java.lang.String message,
                                 java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • trace

        public static void trace(java.lang.Throwable t)
        This method unconditionally emits a message to the logging system but does not throw any exception.
        Parameters:
        message - is a message to be emitted
      • validateExperimentalMode

        public static void validateExperimentalMode()
        This method to validate whether code is being run in experimental mode or not

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.