public class KeepExceptionLegacy extends java.lang.Exception implements KeepExceptionType
Exception that gets thrown when a deprecated method is called should never happen in production
Constructor and Description |
---|
KeepExceptionLegacy()
Default legacy error with StarTrek reference
|
KeepExceptionLegacy(java.lang.String message) |
KeepExceptionLegacy(java.lang.String message,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
ErrorClassification |
getKeepErrorType()
The type of error the Exception represents
|
org.apache.logging.log4j.Level |
getLevel() |
public KeepExceptionLegacy()
Default legacy error with StarTrek reference
public KeepExceptionLegacy(java.lang.String message)
message
- public KeepExceptionLegacy(java.lang.String message, java.lang.Object... args)
message
- args
- Arguments that are passed into the format functionpublic ErrorClassification getKeepErrorType()
KeepExceptionType
The type of error the Exception represents
getKeepErrorType
in interface KeepExceptionType
public org.apache.logging.log4j.Level getLevel()
getLevel
in interface KeepExceptionType