Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A8C117A49 for ; Tue, 26 May 2015 02:49:57 +0000 (UTC) Received: (qmail 8554 invoked by uid 500); 26 May 2015 02:49:57 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 8518 invoked by uid 500); 26 May 2015 02:49:56 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 8509 invoked by uid 99); 26 May 2015 02:49:56 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 02:49:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7A7101A346D for ; Tue, 26 May 2015 02:49:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id a3KNshV98bfD for ; Tue, 26 May 2015 02:49:55 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id DA5C747C0B for ; Tue, 26 May 2015 02:49:41 +0000 (UTC) Received: (qmail 7202 invoked by uid 99); 26 May 2015 02:49:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 02:49:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C934DE09B2; Tue, 26 May 2015 02:49:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: akuznetsov@apache.org To: commits@ignite.incubator.apache.org Date: Tue, 26 May 2015 02:50:22 -0000 Message-Id: <9a7fd1452a6a4592a4f2b8c47a45fba1@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [44/50] incubator-ignite git commit: # One more interop exception. # One more interop exception. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/6ba171f2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/6ba171f2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/6ba171f2 Branch: refs/heads/ignite-816 Commit: 6ba171f2d60cf878bede42e27a4b0a0ee58948cd Parents: 6093619 Author: vozerov-gridgain Authored: Fri May 22 19:25:30 2015 +0300 Committer: vozerov-gridgain Committed: Fri May 22 19:25:30 2015 +0300 ---------------------------------------------------------------------- .../internal/interop/InteropException.java | 6 +++ .../interop/InteropNoCallbackException.java | 50 ++++++++++++++++++++ 2 files changed, 56 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6ba171f2/modules/core/src/main/java/org/apache/ignite/internal/interop/InteropException.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/interop/InteropException.java b/modules/core/src/main/java/org/apache/ignite/internal/interop/InteropException.java index 095c650..d74b9d4 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/interop/InteropException.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/interop/InteropException.java @@ -18,6 +18,7 @@ package org.apache.ignite.internal.interop; import org.apache.ignite.*; +import org.apache.ignite.internal.util.typedef.internal.*; import org.jetbrains.annotations.*; /** @@ -62,4 +63,9 @@ public class InteropException extends IgniteCheckedException { public InteropException(String msg, @Nullable Throwable cause) { super(msg, cause); } + + /** {@inheritDoc} */ + @Override public String toString() { + return S.toString(InteropException.class, this); + } } http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6ba171f2/modules/core/src/main/java/org/apache/ignite/internal/interop/InteropNoCallbackException.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/interop/InteropNoCallbackException.java b/modules/core/src/main/java/org/apache/ignite/internal/interop/InteropNoCallbackException.java new file mode 100644 index 0000000..6fd614a --- /dev/null +++ b/modules/core/src/main/java/org/apache/ignite/internal/interop/InteropNoCallbackException.java @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.ignite.internal.interop; + +import org.apache.ignite.internal.util.typedef.internal.*; + +/** + * Exception raised when interop callback is not set in native platform. + */ +@SuppressWarnings("UnusedDeclaration") +public class InteropNoCallbackException extends InteropException { + /** */ + private static final long serialVersionUID = 0L; + + /** + * Constructor. + */ + public InteropNoCallbackException() { + // No-op. + } + + /** + * Constructor. + * + * @param msg Message. + */ + public InteropNoCallbackException(String msg) { + super(msg); + } + + /** {@inheritDoc} */ + @Override public String toString() { + return S.toString(InteropNoCallbackException.class, this); + } +}