Package 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
-
-
Constructor Summary
Constructors Constructor Description TrialException(java.lang.String msg)
Constructor ofTrialException
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
TrialException
public TrialException(java.lang.String msg)
Constructor ofTrialException
- 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
-
-