Class ExceptionRecord
java.lang.Object
io.datarouter.model.databean.BaseDatabean<PK,D>
io.datarouter.exception.storage.exceptionrecord.BaseExceptionRecord<ExceptionRecordKey,ExceptionRecord>
io.datarouter.exception.storage.exceptionrecord.ExceptionRecord
- All Implemented Interfaces:
io.datarouter.model.databean.Databean<ExceptionRecordKey,ExceptionRecord>,Comparable<io.datarouter.model.databean.Databean<?,?>>
public class ExceptionRecord extends BaseExceptionRecord<ExceptionRecordKey,ExceptionRecord>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExceptionRecord.ExceptionRecordFielderNested classes/interfaces inherited from class io.datarouter.exception.storage.exceptionrecord.BaseExceptionRecord
BaseExceptionRecord.BaseExceptionRecordFielder<PK extends BaseExceptionRecordKey<PK>,D extends BaseExceptionRecord<PK,D>>, BaseExceptionRecord.FieldKeys -
Field Summary
-
Constructor Summary
Constructors Constructor Description ExceptionRecord()ExceptionRecord(long dateMs, String serviceName, String serverName, String category, String name, String stackTrace, String type, String appVersion, String exceptionLocation, String methodName, Integer lineNumber, String callOrigin)ExceptionRecord(String serviceName, String serverName, String category, String name, String stackTrace, String type, String appVersion, String exceptionLocation, String methodName, Integer lineNumber, String callOrigin) -
Method Summary
Modifier and Type Method Description intcompareTo(io.datarouter.model.databean.Databean<?,?> that)Supplier<ExceptionRecordKey>getKeySupplier()io.datarouter.instrumentation.exception.ExceptionRecordDtotoDto()Methods inherited from class io.datarouter.exception.storage.exceptionrecord.BaseExceptionRecord
getAppVersion, getCallOrigin, getCategory, getCreated, getExceptionLocation, getLineNumber, getMethodName, getName, getServerName, getServiceName, getStackTrace, getType, setCreated, trimFields, trimstackTrace
-
Constructor Details
-
ExceptionRecord
public ExceptionRecord() -
ExceptionRecord
-
ExceptionRecord
-
-
Method Details
-
getKeySupplier
-
compareTo
public int compareTo(io.datarouter.model.databean.Databean<?,?> that)- Specified by:
compareToin interfaceComparable<io.datarouter.model.databean.Databean<?,?>>- Overrides:
compareToin classio.datarouter.model.databean.BaseDatabean<ExceptionRecordKey,ExceptionRecord>
-
toDto
public io.datarouter.instrumentation.exception.ExceptionRecordDto toDto()
-