public class SchemaNotAllowedException extends FaultException
The schemas allowed for a particular binding are those specified when the
binding is created using one of the
This exception may indicate a programming error if the application uses a
value with the wrong binding. In that case, when this exception is thrown
the client should treat it as if it were an
and report an error at a higher level.
However, an application may also use this exception to determine whether a binding supports the value's schema or not. In that case, depending on the nature of the application, when this exception is thrown the client may wish to
|Modifier and Type||Method and Description|
Returns the full name of the schema that is not allowed.
getFaultClassName, getRemoteStackTrace, toString, wasLoggedRemotely
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public String getSchemaName()
Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.