| java.lang.Object java.lang.Throwable java.lang.Exception com.sun.portal.app.filesharing.repo.RepoException
RepoException | public class RepoException extends Exception (Code) | | author: Alejandro Abdelnur |
Method Summary | |
public String | getId() Returns the unique ID identifying the location in the code where the exception was thrown. | public RepoItem | getItem() Returns the RepoItem the operation failed on. | public String | getMessage() Returns the exception message. |
RepoException | public RepoException(String id, String message, RepoItem item, Throwable cause)(Code) | | Creates an FSException.
Parameters: id - unique ID identifying the location in the code where the exception was thrown. Parameters: message - message for the exception. Parameters: item - the RepoItem the operation failed on. Parameters: cause - a embedded exception. |
RepoException | public RepoException(String id, String message, RepoItem item)(Code) | | Creates an FSException.
Parameters: id - unique ID identifying the location in the code where the exception was thrown. Parameters: message - message for the exception. Parameters: item - the RepoItem the operation failed on. |
RepoException | public RepoException(String id, String message)(Code) | | Creates an FSException.
Parameters: id - unique ID identifying the location in the code where the exception was thrown. Parameters: message - message for the exception. |
getId | public String getId()(Code) | | Returns the unique ID identifying the location in the code where the exception was thrown.
the unique ID. |
getItem | public RepoItem getItem()(Code) | | Returns the RepoItem the operation failed on.
the RepoItem. |
getMessage | public String getMessage()(Code) | | Returns the exception message.
The format of the returned string is '${id} - ${message} - ${item}'
the exception message. |
|
|