Examples of SerializeException


Examples of com.nimbusds.oauth2.sdk.SerializeException

    try {
      return new URI(sb.toString());

    } catch (URISyntaxException e) {

      throw new SerializeException("Couldn't serialize response: " + e.getMessage(), e);
    }
  }
View Full Code Here

Examples of com.nimbusds.oauth2.sdk.SerializeException

      try {
        params.put("id_token_hint", idTokenHint.serialize());
       
      } catch (IllegalStateException e) {
     
        throw new SerializeException("Couldn't serialize ID token hint: " + e.getMessage(), e);
      }
    }

    if (loginHint != null)
      params.put("login_hint", loginHint);

    if (acrValues != null) {

      StringBuilder sb = new StringBuilder();

      for (ACR acr: acrValues) {

        if (sb.length() > 0)
          sb.append(' ');

        sb.append(acr.toString());
      }

      params.put("acr_values", sb.toString());
    }
     

    if (claims != null)
      params.put("claims", claims.toJSONObject().toString());
   
    if (requestObject != null) {
   
      try {
        params.put("request", requestObject.serialize());
       
      } catch (IllegalStateException e) {
     
        throw new SerializeException("Couldn't serialize request object to JWT: " + e.getMessage(), e);
      }
    }
   
    if (requestURI != null)
      params.put("request_uri", requestURI.toString());
View Full Code Here

Examples of com.reignite.exception.SerializeException

        write(AMF0_AVMPLUSOBJECT_TYPE);
        try {
          writeAMF3Object(data);
        } catch (ClassNotFoundException e) {
          LogWriter.error(getClass(), "Failed to serialize : " + e, e);
          throw new SerializeException("Couldn't serialize to AMF3: " + e, e);
        }
      }
    }
  }
View Full Code Here

Examples of de.ailis.pherialize.exceptions.SerializeException

            serializeSerializable((Serializable) object, buffer);
            return;
        }
        else
        {
            throw new SerializeException("Unable to serialize "
                + object.getClass().getName());
        }

        this.history.add(object);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.