(String type, String name)
| 603 | } |
| 604 | |
| 605 | public static Trace newTrace(String type, String name) { |
| 606 | if (isEnabled()) { |
| 607 | try { |
| 608 | return Cat.getProducer().newTrace(type, name); |
| 609 | } catch (Exception e) { |
| 610 | errorHandler(e); |
| 611 | return NullMessage.TRACE; |
| 612 | } |
| 613 | } else { |
| 614 | return NullMessage.TRACE; |
| 615 | } |
| 616 | } |
| 617 | |
| 618 | /** |
| 619 | * Create a new transaction with given type and name. |
nothing calls this directly
no test coverage detected