com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class TrialException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.aspose.threed.TrialException
  • All Implemented Interfaces:
    java.io.Serializable


    public class TrialException
    extends java.lang.RuntimeException
    This is raised in Scene.Open/Scene.Save when no licenses are applied. You can turn off this exception by setting SuppressTrialException to true.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static boolean getSuppressTrialException()
      Sets this to true to suppress trial exception for unlicensed usage, but the restrictions will not be lifted.
      static void setSuppressTrialException(boolean value)
      Sets this to true to suppress trial exception for unlicensed usage, but the restrictions will not be lifted.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TrialException

        public TrialException(java.lang.String msg)
        Constructor of TrialException
        Parameters:
        msg -
    • Method Detail

      • getSuppressTrialException

        public static boolean getSuppressTrialException()
        Sets this to true to suppress trial exception for unlicensed usage, but the restrictions will not be lifted. In order to lift the restrictions, please use a proper license. And sets this to true also means you're aware of the unlicensed restrictions.
      • setSuppressTrialException

        public static void setSuppressTrialException(boolean value)
        Sets this to true to suppress trial exception for unlicensed usage, but the restrictions will not be lifted. In order to lift the restrictions, please use a proper license. And sets this to true also means you're aware of the unlicensed restrictions.
        Parameters:
        value - New value