tk.exgerm.pluginmanager
Class ExGOSGiUpdateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by tk.exgerm.pluginmanager.ExGOSGiUpdateException
All Implemented Interfaces:
Serializable

public class ExGOSGiUpdateException
extends Exception

Klasa koja predstavlja poseban exception, skup svih mogućih grešaka koje se mogu desiti tokom instalacije ili update-a plugina.

See Also:
Serialized Form

Nested Class Summary
static class ExGOSGiUpdateException.ErrorType
          Tipovi ishoda update-a.
 
Constructor Summary
ExGOSGiUpdateException(org.osgi.framework.Bundle bundle, ExGOSGiUpdateException.ErrorType type, String message)
          Jedini konstruktor exceptiona kada se vrši update bundla.
 
Method Summary
 org.osgi.framework.Bundle getBundle()
           
 String getMessage()
           
 ExGOSGiUpdateException.ErrorType getType()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ExGOSGiUpdateException

public ExGOSGiUpdateException(org.osgi.framework.Bundle bundle,
                              ExGOSGiUpdateException.ErrorType type,
                              String message)
Jedini konstruktor exceptiona kada se vrši update bundla.

Parameters:
bundle - koji se updatuje
type - tip greške
message - poruka greške
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getType

public ExGOSGiUpdateException.ErrorType getType()

getBundle

public org.osgi.framework.Bundle getBundle()