ServiceStartNotAllowedException | API reference | Android Developers (original) (raw)
abstract class ServiceStartNotAllowedException : IllegalStateException
kotlin.Any | ||||
---|---|---|---|---|
↳ | kotlin.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.lang.IllegalStateException | |||
↳ |
Exception thrown when an app tries to start a [Service](/reference/kotlin/android/app/Service)
when it's not allowed to do so.
Summary
Properties | |
---|---|
open Throwable? | cause |
Properties
cause
open val cause: Throwable?
Return | |
---|---|
Throwable? | the cause of this throwable or null if the cause is nonexistent or unknown. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.