Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public class SecurityException

  1. Object
  2. Throwable
  3. Exception
  4. RuntimeException
  5. SecurityException
Thrown by the system to indicate a security violation. Since: JDK1.0, CLDC 1.0

Constructors

public SecurityException()Constructs a SecurityException with no detail message.
public SecurityException(String s)Constructs a SecurityException with the specified detail message.

Inherited methods

Constructor details

SecurityException

public SecurityException()
Constructs a SecurityException with no detail message.

SecurityException

public SecurityException(String s)
Constructs a SecurityException with the specified detail message. s - the detail message.