use of com.sun.identity.saml.protocol.Status in project OpenAM by OpenRock.
the class FSAssertionManagerImpl method getErrorStatus.
public String getErrorStatus(String metaAlias, String artifact) throws FSRemoteException {
try {
if (FSUtils.debug.messageEnabled()) {
FSUtils.debug.message("FSAssertionManagerImpl.getErrStatus(" + metaAlias + ", " + artifact);
}
AssertionArtifact aa = new FSAssertionArtifact(artifact);
Status s = FSAssertionManager.getInstance(metaAlias).getErrorStatus(aa);
if (null != s)
return s.toString(true, true);
} catch (FSMsgException e) {
FSUtils.debug.error("getErrStatus: FSMsgException:" + e.getMessage());
throw new FSRemoteException(e.getMessage());
} catch (FSException e) {
FSUtils.debug.error("getErrStatus: FSException:" + e.getMessage());
throw new FSRemoteException(e.getMessage());
}
if (FSUtils.debug.messageEnabled()) {
FSUtils.debug.message("getErrStatus: returning null");
}
return null;
}
Aggregations