org.rhq.enterprise.server.content
Class RepoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.rhq.enterprise.server.content.ContentException
org.rhq.enterprise.server.content.RepoException
- All Implemented Interfaces:
- Serializable
public class RepoException
- extends ContentException
General exception used to convey issues in CRUD operations on a repo or repo group.
- See Also:
Repo,
RepoGroup,
Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RepoException
public RepoException()
RepoException
public RepoException(String message)
RepoException
public RepoException(Throwable cause)
RepoException
public RepoException(String message,
Throwable cause)
getType
public RepoException.RepoExceptionType getType()
- Programmatic hook to determine if a repo operation failure was related to the repo name
already existing.
- Returns:
setType
public void setType(RepoException.RepoExceptionType type)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.