Back to project page screenstandby.
The source code is released under:
GNU General Public License
If you think the Android project screenstandby listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nkahoang.kernelswitchobserver; // www . j av a2s. co m public class HardwareNotFoundException extends Exception{ /** * */ private static final long serialVersionUID = 1L; String mMessage; HardwareNotFoundException(String hardwareName) { mMessage = "Hardware path " + hardwareName + " not found (Does kernel have this hardware?)"; } public String getMessage() { return mMessage; } }