pull vendor
This commit is contained in:
40
vendor/JavaWinampApi/1.1/java/com/qotsa/exception/InvalidHandle.java
vendored
Normal file
40
vendor/JavaWinampApi/1.1/java/com/qotsa/exception/InvalidHandle.java
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* InvalidHandle.java
|
||||
*
|
||||
* Created on 9 de Outubro de 2007, 14:18
|
||||
*
|
||||
* To change this template, choose Tools | Template Manager
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
package com.qotsa.exception;
|
||||
|
||||
/**
|
||||
* Exception to throw when Winamp Handle Fails.
|
||||
*
|
||||
* @author Francisco
|
||||
*/
|
||||
public class InvalidHandle extends Exception{
|
||||
|
||||
private static final String defaultMessage = "Invalid Handle. Please Verify if Winamp is running.";
|
||||
|
||||
/**
|
||||
* Creates a new instance of InvalidHandle
|
||||
* @param message Message to print in the stack.
|
||||
*/
|
||||
public InvalidHandle(String message) {
|
||||
|
||||
super(message);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of InvalidHandle with the default message
|
||||
*/
|
||||
public InvalidHandle() {
|
||||
|
||||
super(defaultMessage);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
40
vendor/JavaWinampApi/1.1/java/com/qotsa/exception/InvalidParameter.java
vendored
Normal file
40
vendor/JavaWinampApi/1.1/java/com/qotsa/exception/InvalidParameter.java
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* InvalidParameter.java
|
||||
*
|
||||
* Created on 11 de Outubro de 2007, 10:53
|
||||
*
|
||||
* To change this template, choose Tools | Template Manager
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
package com.qotsa.exception;
|
||||
|
||||
/**
|
||||
* Exception to throw when any parameter is invalid.
|
||||
*
|
||||
* @author Francisco
|
||||
*/
|
||||
public class InvalidParameter extends Exception {
|
||||
|
||||
private static final String defaultMessage = "Invalid Parameter";
|
||||
|
||||
/**
|
||||
* Creates a new instance of NegativeValueException
|
||||
* @param message Message to print in the stack.
|
||||
*/
|
||||
public InvalidParameter(String message) {
|
||||
|
||||
super(message);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance of NegativeValueException with the default message
|
||||
*/
|
||||
public InvalidParameter() {
|
||||
|
||||
super(defaultMessage);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
20
vendor/JavaWinampApi/1.1/java/com/qotsa/exception/package.html
vendored
Normal file
20
vendor/JavaWinampApi/1.1/java/com/qotsa/exception/package.html
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html>
|
||||
<head>
|
||||
<!--
|
||||
|
||||
@(#)package.html 1.60 98/01/27
|
||||
|
||||
-->
|
||||
</head>
|
||||
<body bgcolor="white">
|
||||
|
||||
Package containing the Exception Class used in the WinampController Class.
|
||||
|
||||
|
||||
<h2>Package Specification</h2>
|
||||
|
||||
<!-- Put @see and @since tags down here. -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user