File: NotAnArrayException.java

package info (click to toggle)
rjava 1.0-11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,184 kB
  • sloc: java: 13,223; ansic: 5,479; sh: 3,776; xml: 325; makefile: 250; perl: 33
file content (12 lines) | stat: -rw-r--r-- 286 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * Exception indicating that an object is not a java array
 */
public class NotAnArrayException extends Exception{
	public NotAnArrayException(Class clazz){
		super( "not an array : " + clazz.getName() ) ;
	}
	public NotAnArrayException(String message){
		super( message ) ;
	}
}