sk.baka.ambient.collection.ampache
Class AmpacheException
java.lang.Object
java.lang.Throwable
java.lang.Exception
sk.baka.ambient.collection.ampache.AmpacheException
- All Implemented Interfaces:
- Serializable
public final class AmpacheException
- extends Exception
Error communicating with ampache.
- Author:
- Martin Vysny
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
errorMsg
public final String errorMsg
- The error message.
errorCode
public final String errorCode
- The error code.
AmpacheException
public AmpacheException(String errorCode,
String errorMsg)
- Creates new exception from given error code.
- Parameters:
errorCode
- the codeerrorMsg
- error message as sent from the server.
Copyright © 2007-2008. All Rights Reserved.