Class CompacterFactory
java.lang.Object
com.tridion.util.exceptions.compacter.factory.CompacterFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StackTraceCompactercreate()Use this method in order to create a new instance of compacter.static StackTraceCompacterUse this method in order to return created instance in advance.
-
Constructor Details
-
CompacterFactory
public CompacterFactory()
-
-
Method Details
-
create
Use this method in order to create a new instance of compacter. That will not support for recalling the previous exceptions, but will compact it anyway.- Returns:
- new instance.
-
getInstance
Use this method in order to return created instance in advance. That will support for recalling the previous exceptions, so it will not only compact the current exception, it also will make the same exceptions disappear with only the line to be left: 'Exception () is thrown #121 times' - Returns:
- singleton instance.
-