org.olat.fileresource.types
Class AddingResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.olat.fileresource.types.AddingResourceException
All Implemented Interfaces:
java.io.Serializable

public class AddingResourceException
extends java.lang.Exception

Execption to throw if you need to show the user detailled information about the error and to track the Olatresourcable if case we have to delete the failed entry

Initial Date: 12.01.2006

Author:
guido
See Also:
Serialized Form

Constructor Summary
AddingResourceException(java.lang.String errorKey)
          creates a new exception with a key pointing to a translation key with a specific message
 
Method Summary
 java.lang.String getErrorKey()
          get the translation key for the error message
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddingResourceException

public AddingResourceException(java.lang.String errorKey)
creates a new exception with a key pointing to a translation key with a specific message

Parameters:
errorKey -
Method Detail

getErrorKey

public java.lang.String getErrorKey()
get the translation key for the error message

Returns:
key