public class NotAuthenticatedException extends BaseException
AdministrationClient
object, a
ExpressionClient
object, or a FunctionClient
object.
When you create a Java application to run against a server where
authentication is enabled, you should provide authentication with your
application. For example, when you create an an
AdministrationClient
object, you add the parameters for
authenticating the user's name and password. If the user's credentials cannot
be validated, then the server returns a
NotAuthenticatedException
.
AdministrationClient
,
FunctionClient
,
ExpressionClient
,
Serialized FormConstructor and Description |
---|
NotAuthenticatedException()
Constructs an instance of a
NotAuthenticatedException
class. |
NotAuthenticatedException(java.lang.String arg0)
Constructs an instance of a
NotAuthenticatedException
class. |
NotAuthenticatedException(java.lang.String arg0,
java.lang.Throwable arg1)
Constructs an instance of a
NotAuthenticatedException
class. |
NotAuthenticatedException(java.lang.Throwable arg0)
Constructs an instance of a
NotAuthenticatedException
class. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXml()
Returns an XML representation representing the exception.
|
int |
ordinal()
Returns the ID of the exception to facilitate unmarshaling XML representation
back into Java object.
|
public NotAuthenticatedException()
NotAuthenticatedException
class.public NotAuthenticatedException(java.lang.String arg0)
NotAuthenticatedException
class.arg0
- A string containing the authentication failure.public NotAuthenticatedException(java.lang.Throwable arg0)
NotAuthenticatedException
class.arg0
- The Java Throwable
class containing a snapshot
of the execution stack of its thread at the time it was
created.public NotAuthenticatedException(java.lang.String arg0, java.lang.Throwable arg1)
NotAuthenticatedException
class.arg0
- A string containing the authentication failure.arg1
- The Java Throwable
class containing a snapshot
of the execution stack of its thread at the time it was
created.public int ordinal()
ordinal
in class BaseException
int
.public java.lang.String getXml()
getXml
in class BaseException
String
.