org.rhq.enterprise.server.content
Class RepoException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.rhq.enterprise.server.content.ContentException
              extended by 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

Nested Class Summary
static class RepoException.RepoExceptionType
           
 
Constructor Summary
RepoException()
           
RepoException(String message)
           
RepoException(String message, Throwable cause)
           
RepoException(Throwable cause)
           
 
Method Summary
 RepoException.RepoExceptionType getType()
          Programmatic hook to determine if a repo operation failure was related to the repo name already existing.
 void setType(RepoException.RepoExceptionType type)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepoException

public RepoException()

RepoException

public RepoException(String message)

RepoException

public RepoException(Throwable cause)

RepoException

public RepoException(String message,
                     Throwable cause)
Method Detail

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.