|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| XJavaDocException.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* Copyright (c) 2001-2003 The XDoclet team
|
|
| 3 |
* All rights reserved.
|
|
| 4 |
*/
|
|
| 5 |
package xjavadoc;
|
|
| 6 |
|
|
| 7 |
/**
|
|
| 8 |
* @author Aslak Hellesøy
|
|
| 9 |
* @created 19. februar 2002
|
|
| 10 |
*/
|
|
| 11 |
public class XJavaDocException extends Exception |
|
| 12 |
{
|
|
| 13 |
|
|
| 14 |
/**
|
|
| 15 |
* @todo-javadoc Describe the field
|
|
| 16 |
*/
|
|
| 17 |
private Throwable _source;
|
|
| 18 |
|
|
| 19 |
/**
|
|
| 20 |
* Describe what the XJavaDocException constructor does
|
|
| 21 |
*
|
|
| 22 |
* @param source Describe what the parameter does
|
|
| 23 |
* @todo-javadoc Write javadocs for constructor
|
|
| 24 |
* @todo-javadoc Write javadocs for method parameter
|
|
| 25 |
*/
|
|
| 26 | 0 |
public XJavaDocException( Throwable source )
|
| 27 |
{
|
|
| 28 | 0 |
this( source.getMessage() );
|
| 29 | 0 |
_source = source; |
| 30 |
} |
|
| 31 |
|
|
| 32 |
/**
|
|
| 33 |
* Describe what the XJavaDocException constructor does
|
|
| 34 |
*
|
|
| 35 |
* @param message Describe what the parameter does
|
|
| 36 |
* @todo-javadoc Write javadocs for constructor
|
|
| 37 |
* @todo-javadoc Write javadocs for method parameter
|
|
| 38 |
*/
|
|
| 39 | 0 |
public XJavaDocException( String message )
|
| 40 |
{
|
|
| 41 | 0 |
super( message );
|
| 42 |
} |
|
| 43 |
|
|
| 44 |
/**
|
|
| 45 |
* Gets the Source attribute of the XJavaDocException object
|
|
| 46 |
*
|
|
| 47 |
* @return The Source value
|
|
| 48 |
*/
|
|
| 49 | 0 |
public Throwable getSource()
|
| 50 |
{
|
|
| 51 | 0 |
return _source;
|
| 52 |
} |
|
| 53 |
} |
|
| 54 |
|
|
| 55 |
|
|
||||||||||