java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | com.digi.android.system.cpu.exception.CPUTemperatureException |
This exception indicates that an operation related to CPU Temperature access or configuration has failed.
The exception stores information about the kind of problem that caused the exception.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | READING_TEMP_FILE_ERROR | Error reading from temperature file. | |||||||||
int | TEMPERATURE_FILE_NOT_FOUND | Temperature file could not be found. | |||||||||
int | UNSPECIFIED_EXCEPTION | Any exception that does not specify a specific issue. | |||||||||
int | WRITING_TEMP_FILE_ERROR | Error writing to temperature file. | |||||||||
long | serialVersionUID |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
channelIndex | |||||||||||
exceptionType |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a generic
CPUTemperatureException . | |||||||||||
Constructs a
CPUTemperatureException with the given cause. | |||||||||||
Constructs a
CPUTemperatureException for the given exception
cause and detailed exception message. | |||||||||||
Constructs a
CPUTemperatureException for the given exception
cause and parent exception. | |||||||||||
Constructs a
CPUTemperatureException for the given exception
cause, detailed message and parent exception. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the exception type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Error reading from temperature file.
Temperature file could not be found.
Any exception that does not specify a specific issue.
Error writing to temperature file.
Constructs a generic CPUTemperatureException
.
Constructs a CPUTemperatureException
with the given cause.
Parameters | |
---|---|
exceptionType |
int : Type of exception. |
Constructs a CPUTemperatureException
for the given exception
cause and detailed exception message.
Parameters | |
---|---|
exceptionType |
int : Type of exception. |
message |
String : Additional message for the exception. |
Constructs a CPUTemperatureException
for the given exception
cause and parent exception.
Parameters | |
---|---|
exceptionType |
int : Type of exception. |
throwable |
Throwable : Parent exception. |
Constructs a CPUTemperatureException
for the given exception
cause, detailed message and parent exception.
Parameters | |
---|---|
exceptionType |
int : Type of exception. |
message |
String : Additional message for the exception. |
throwable |
Throwable : Parent exception. |
Returns | |
---|---|
String |
Retrieves the exception type. Will be UNSPECIFIED_EXCEPTION
if not explicitly set.
Returns | |
---|---|
int |
The exception type. |