Class BaseExceptionRecord<PK extends BaseExceptionRecordKey<PK>,D extends BaseExceptionRecord<PK,D>>
java.lang.Object
io.datarouter.model.databean.BaseDatabean<PK,D>
io.datarouter.exception.storage.exceptionrecord.BaseExceptionRecord<PK,D>
- All Implemented Interfaces:
io.datarouter.model.databean.Databean<PK,D>,Comparable<io.datarouter.model.databean.Databean<?,?>>
- Direct Known Subclasses:
ExceptionRecord
public abstract class BaseExceptionRecord<PK extends BaseExceptionRecordKey<PK>,D extends BaseExceptionRecord<PK,D>>
extends io.datarouter.model.databean.BaseDatabean<PK,D>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBaseExceptionRecord.BaseExceptionRecordFielder<PK extends BaseExceptionRecordKey<PK>,D extends BaseExceptionRecord<PK,D>>static classBaseExceptionRecord.FieldKeys -
Field Summary
-
Constructor Summary
Constructors Constructor Description BaseExceptionRecord(PK key)BaseExceptionRecord(PK key, long dateMs, String serviceName, String serverName, String category, String name, String stackTrace, String type, String appVersion, String exceptionLocation, String methodName, Integer lineNumber, String callOrigin)BaseExceptionRecord(PK key, io.datarouter.instrumentation.exception.ExceptionRecordDto exceptionRecordDto)BaseExceptionRecord(PK key, 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 StringgetAppVersion()StringgetCallOrigin()StringgetCategory()DategetCreated()StringgetExceptionLocation()IntegergetLineNumber()StringgetMethodName()StringgetName()StringgetServerName()StringgetServiceName()StringgetStackTrace()StringgetType()voidsetCreated(Date created)voidtrimFields()voidtrimstackTrace()Methods inherited from class io.datarouter.model.databean.BaseDatabean
compareTo, equals, getDatabeanName, getKey, getKeyFieldName, getKeyFields, hashCode, toString
-
Constructor Details
-
BaseExceptionRecord
-
BaseExceptionRecord
-
BaseExceptionRecord
-
BaseExceptionRecord
public BaseExceptionRecord(PK key, io.datarouter.instrumentation.exception.ExceptionRecordDto exceptionRecordDto)
-
-
Method Details
-
getCreated
-
setCreated
-
getServiceName
-
getServerName
-
getCategory
-
getName
-
getStackTrace
-
getType
-
getAppVersion
-
getExceptionLocation
-
getMethodName
-
getLineNumber
-
getCallOrigin
-
trimFields
public void trimFields() -
trimstackTrace
public void trimstackTrace()
-