version-1.30
Last change
on this file since bc24428 was
8780cbec,
checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago
|
ABAC sources from Cobham
|
-
Property mode set to
100644
|
File size:
556 bytes
|
Rev | Line | |
---|
[8780cbec] | 1 | package com.nailabs.abac.trust; |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * An exception for signaling that a trust target has been incorrectly |
---|
| 5 | * formatted. |
---|
| 6 | */ |
---|
| 7 | public class TrustTargetParsingException extends Exception { |
---|
| 8 | /** The string containing an improperly formatted trust target */ |
---|
| 9 | private String data; |
---|
| 10 | |
---|
| 11 | /** Detailed contructor for error and the offending datum */ |
---|
| 12 | public TrustTargetParsingException(String error, String offender) { |
---|
| 13 | super(error); |
---|
| 14 | data = offender; |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | /** Accessor method for the data field */ |
---|
| 18 | public String getData() { return data; } |
---|
| 19 | |
---|
| 20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.