org.modeshape.jcr.cache
Class WorkspaceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.modeshape.jcr.cache.WorkspaceNotFoundException
- All Implemented Interfaces:
- Serializable
public class WorkspaceNotFoundException
- extends RuntimeException
An exception signalling that a node does not exist.
- See Also:
- Serialized Form
Method Summary |
String |
getName()
Get the name of the workspace that was not found. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
WorkspaceNotFoundException
public WorkspaceNotFoundException(String name)
- Parameters:
name
- the workspace name
WorkspaceNotFoundException
public WorkspaceNotFoundException(String name,
String message)
- Parameters:
name
- the workspace namemessage
- the message
WorkspaceNotFoundException
public WorkspaceNotFoundException(String name,
Throwable cause)
- Parameters:
name
- the workspace namecause
- the cause of this exception
WorkspaceNotFoundException
public WorkspaceNotFoundException(String name,
String message,
Throwable cause)
- Parameters:
name
- the workspace namemessage
- the messagecause
- the cause of this exception
getName
public String getName()
- Get the name of the workspace that was not found.
- Returns:
- the workspace name
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.