com.ibm.commerce.context.content.resources.exception

Class NoWorkspaceAvailableException

  • All Implemented Interfaces:
    java.io.Serializable


    public class NoWorkspaceAvailableException
    extends ResourceException

    This class defines a resource exception. The exception is thrown when there is a problem with the workspace identifier. Possible problems include:

    • It is invalid; or
    • It cannot be assigned to a schema because none is available in the schema pool.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright.
    • Constructor Summary

      Constructors 
      Constructor and Description
      NoWorkspaceAvailableException(java.lang.String workspaceIdentifier)
      This is a constructor for this class with one parameter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getWorkspace()
      This method returns the workspace identifier used to identify the workspace.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright.
        See Also:
        Constant Field Values
    • Constructor Detail

      • NoWorkspaceAvailableException

        public NoWorkspaceAvailableException(java.lang.String workspaceIdentifier)
        This is a constructor for this class with one parameter. It calls the constructor from the superclass. It creates a no workspace available exception using a workspace identifier.
        Parameters:
        workspaceIdentifier - The workspace identifier.
    • Method Detail

      • getWorkspace

        public java.lang.String getWorkspace()
        This method returns the workspace identifier used to identify the workspace.
        Returns:
        The workspace identifier that could not be used in a valid workspace.