es.caib.signatura.api
Class UpgradeNeededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by es.caib.signatura.api.UpgradeNeededException
All Implemented Interfaces:
java.io.Serializable

public class UpgradeNeededException
extends java.lang.Exception

Exception thrown when the local component of the API needs to be updated.

Author:
u07286
See Also:
Serialized Form

Constructor Summary
UpgradeNeededException(java.lang.String message, java.net.URL url)
          Constructor.
UpgradeNeededException(java.lang.String message, java.net.URL url, java.lang.Throwable cause)
          Constructor.
 
Method Summary
 java.net.URL getUrl()
          Gets the URL from which it is possible to update.
 
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

UpgradeNeededException

public UpgradeNeededException(java.lang.String message,
                              java.net.URL url,
                              java.lang.Throwable cause)
Constructor.

Parameters:
message -
url -
cause -

UpgradeNeededException

public UpgradeNeededException(java.lang.String message,
                              java.net.URL url)
Constructor.

Parameters:
message -
url -
Method Detail

getUrl

public java.net.URL getUrl()
Gets the URL from which it is possible to update. Usually it will be a link to the Java Web Start descriptor.

Returns:
The update URL.


Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.