MethodCalledErrorReporter 추적 프로그램은 메서드에 사용되며, 이 메서드가 호출되는 것 자체가 오류가 발생했음을 의미합니다. 예:
TraceOneMethodOfClass: com.bank.CheckingAccount cancelCheck MethodCalledErrorReporter "CustomerAccount:Canceled Checks Per Interval"
이 지시문은 cancelCheck() 메서드가 (어떠한 이유로 인해) 호출될 때마다 이것을 오류로 지정합니다. 오류 메시지는 단순히 호출된 클래스 및 메서드가 기술합니다.
예외 또는 오류를 throw하는 메서드를 모르는 경우 ThisErrorReporter 추적 프로그램을 사용해 보십시오.
|
Copyright © 2013 CA.
All rights reserved.
|
|