Class CompacterFactory

java.lang.Object
com.tridion.util.exceptions.compacter.factory.CompacterFactory

public class CompacterFactory extends Object
  • Constructor Details

    • CompacterFactory

      public CompacterFactory()
  • Method Details

    • create

      public static StackTraceCompacter 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

      public static StackTraceCompacter 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.